[systemd-devel] RFC: enable suspend to idle
Oliver Neukum
oneukum at suse.com
Mon Mar 5 15:19:55 UTC 2018
On Fri, 2018-03-02 at 10:18 +0100, Lennart Poettering wrote:
> But why wouldn't that be a kernel option? I mean, so far the goal was
> to encode "reasonable defaults" in the kernel itself, so that
> userspace is only used when those "reasonable defaults" do not apply
> onto one local case.
>
> Really, already for compatibility reasons the kernel should just carry
> the "reasonable defaults", so that it's not necessary to match it up
> with a udev version that carries the right policy for it.
Well, no. The kernel must carry conservative defaults that do no harm
in any case. Setting defaults sensible for the class of systems systemd
runs on is the job of udev.
For now we are running with defaults taken from firmware, which can be
expected to be tailored to the system it comes with.
Falling back to conservative defaults would mean a regression in
functionality.
Regards
Oliver
More information about the systemd-devel
mailing list