Re: [PATCH] Warn if we run out of swap space

Avi Kivity
2009-06-03T17:27:54Z

Pavel Machek wrote:
> Ouch and please... don't stop useful printk() warnings just because
> some 'pie-in-the-sky future binary protocol'. That's what happened in
> ACPI land with battery critical, and it is also why I don't get
> battery warnings on some of my machines.
>

I don't oppose printk() on significant events (such as this) in addition
to a proper programmatic interface.

> State-of-the art userspace should not be required for reasonable
> operation...
> Pavel
>

On the other hand, we shouldn't need to cobble userspace out of a bunch
of shell scripts because the kernel tries to communicate with users
directly.

--
error compiling committee.c: too many arguments to function