Re: When will the lunacy end? (Was Re: [PATCH] uswsusp: addpmops->{prepare,enter,finish} support (aka "platform mode"))

From: Andrew Morton
Date: Tue Sep 26 2006 - 12:46:40 EST

On Tue, 26 Sep 2006 12:24:34 +0200
Pavel Machek <pavel@xxxxxx> wrote:

> Is "swapoff -a; echo disk > /sys/power/state" slow for you? If so, we
> have something reasonably easy to debug, if not, we'll try something
> else...

sony:/home/akpm# swapoff -a
sony:/home/akpm# time (echo disk > /sys/power/state)
echo: write error: no such device
(; echo disk > /sys/power/state; ) 0.00s user 0.08s system 1% cpu 5.259 total

It took an additional two-odd seconds to bring the X UI back into a serviceable

It'd be nice to increase that 1% CPU utilisation...
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at