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

Pavel Machek
2009-06-03T17:34:31Z

On Tue 2009-06-02 12:23:12, Avi Kivity wrote:
> 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.
>>
>
> btw, adding a printk() for acpi battery state may have helped you and
> other kernel developers, but would have done nothing for ordinary humans
> using Linux on their laptops. We should cater to the general population
> first and treat developer needs as nice-to-haves.

We already have the programatic interface, but it was used as a reason
not to merge printk(). And programatic interface helps nothing with
init=/bin/bash boot, minimal userland etc.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html