Update feature set for Zen kernel; also tune HZ settings for BFS scheduler (didn't boot for me last time)
svn path=/nixpkgs/trunk/; revision=17151
This commit is contained in:
parent
9ff982e4ab
commit
af269992e1
@ -11,6 +11,7 @@ in
|
|||||||
features = {
|
features = {
|
||||||
iwlwifi = true;
|
iwlwifi = true;
|
||||||
zen = true;
|
zen = true;
|
||||||
|
fbConDecor = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
extraMeta = {
|
extraMeta = {
|
||||||
@ -33,6 +34,10 @@ in
|
|||||||
sed -re 's/^# ('"$1"') is not set/\1=y/' -i .config
|
sed -re 's/^# ('"$1"') is not set/\1=y/' -i .config
|
||||||
sed -re "1i$1=y" -i .config
|
sed -re "1i$1=y" -i .config
|
||||||
}
|
}
|
||||||
|
setOptionVal () {
|
||||||
|
sed -re 's/^('"$1"')=.*/\1='"$2"'/' -i .config
|
||||||
|
sed -re "1i$1=$2" -i .config
|
||||||
|
}
|
||||||
|
|
||||||
make allmodconfig
|
make allmodconfig
|
||||||
|
|
||||||
@ -66,6 +71,10 @@ in
|
|||||||
(if a.lib.attrByPath ["ckSched"] false a then ''
|
(if a.lib.attrByPath ["ckSched"] false a then ''
|
||||||
killOption CONFIG_CPU_CFS
|
killOption CONFIG_CPU_CFS
|
||||||
setOptionYes CONFIG_CPU_BFS
|
setOptionYes CONFIG_CPU_BFS
|
||||||
|
killOption CONFIG_NO_HZ
|
||||||
|
killOption CONFIG_HZ_1000
|
||||||
|
setOptionYes CONFIG_HZ_250
|
||||||
|
setOptionVal CONFIG_HZ 250
|
||||||
''else "") +
|
''else "") +
|
||||||
''
|
''
|
||||||
cp .config ${config}
|
cp .config ${config}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user