linuxKernel.kernels.linux_lqx: fix build

- Override RCU_LAZY since this is defined in the kernel/common-config.nix
- Make RCU_BOOST_DELAY optional

Fixes issue #327719.
This commit is contained in:
Thiago Kenji Okada 2024-07-16 21:03:46 +01:00
parent c82d9d313d
commit 86832307ec

View File

@ -62,7 +62,7 @@ let
RCU_FANOUT = freeform "64";
RCU_FANOUT_LEAF = freeform "16";
RCU_BOOST = yes;
RCU_BOOST_DELAY = freeform "500";
RCU_BOOST_DELAY = option (freeform "500");
RCU_NOCB_CPU = yes;
RCU_LAZY = yes;
RCU_DOUBLE_CHECK_CB_TIME = yes;
@ -94,7 +94,7 @@ let
# https://github.com/damentz/liquorix-package/commit/a7055b936c0f4edb8f6afd5263fe1d2f8a5cd877
RCU_BOOST = no;
RCU_LAZY = no;
RCU_LAZY = lib.mkOverride 60 no;
# Swap storage is compressed with LZ4 using zswap
ZSWAP_COMPRESSOR_DEFAULT_LZ4 = lib.mkOptionDefault yes;