-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
init: Do not disable 'ondemand' governor on shift #261
Conversation
@XECDesign and @spl237 , I would appreciate any input you might have. Cheers, |
Not an area I know anything about, so fine with me unless Serge has any concerns? |
Nope, I'm glad to see this go. Doesn't Also, wouldn't it mean people will be stuck with powersave unless they upgrade the kernel to a version that's not in apt yet? If that's the case, then I don't think we can merge it until that kernel has been out for a while. |
In terms of being stuck on powersave, would get get away with marking this package as 'Breaks' or 'Conflicts' with older kernel versions such that the new version of this package doesn't get selected until the kernel version moves on? |
I think some set of users will see that there's a package update being held back and try to install it anyway, which will result in the kernel getting deleted. I think it's best to just wait until the new kernel has been out for a few months and then make this change. |
Is it still worth changing it so that it's no-longer and init service and dropping the SHIFT key behavior? There still needs to be something that reads /etc/default and picks the on-demand parameters but there's no need for this to be interactive |
Yeah, good point. |
I'll put a change together that implements this. |
A quick and easy step might be to just remove the use of thd and timeout and just default to the behaviour that happens when shift is not pressed. |
3c2f511
to
6899a79
Compare
6899a79
to
92dfebd
Compare
I've forced-pushed my |
92dfebd
to
f426b64
Compare
This change removes the raspi-config SysVinit script that configures the cpu governor during boot based on 'shift' key status. The raspberrypi-sys-mods package now takes resposibility for the selection/configuration of the ondemand cpu governor. The /etc/default/cpu_governor configuration file is also removed by this change.
f426b64
to
e34ce03
Compare
No description provided.