Added some more kernel options advised by PowerTOP.
svn path=/nixpkgs/trunk/; revision=9373
This commit is contained in:
parent
8036507a29
commit
dd9777e091
@ -2788,7 +2788,23 @@ rec {
|
|||||||
extraConfig = "CONFIG_TIMER_STATS=y\n";
|
extraConfig = "CONFIG_TIMER_STATS=y\n";
|
||||||
}
|
}
|
||||||
] else [])
|
] else [])
|
||||||
|
++
|
||||||
|
(if (getConfig ["kernel" "usb_suspend"] false) then [
|
||||||
|
{
|
||||||
|
name = "Enable-USB_SUSPEND";
|
||||||
|
patch = ../lib/empty.file;
|
||||||
|
extraConfig = "CONFIG_USB_SUSPEND=y\n";
|
||||||
|
}
|
||||||
|
] else [])
|
||||||
|
++
|
||||||
|
(if (getConfig ["kernel" "no_irqbalance"] false) then [
|
||||||
|
{
|
||||||
|
name = "Disable-IRQBALANCE";
|
||||||
|
patch = ../lib/empty.file;
|
||||||
|
extraConfig = "# CONFIG_IRQBALANCE is not set\n";
|
||||||
|
}
|
||||||
|
] else [])
|
||||||
|
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user