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

From: Rafael J. Wysocki
Date: Wed Sep 27 2006 - 17:11:43 EST


On Wednesday, 27 September 2006 23:08, Andrew Morton wrote:
> On Wed, 27 Sep 2006 11:09:02 +0200
> Pavel Machek <pavel@xxxxxx> wrote:
>
> > Hi!
> >
> > > > 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
> > > state.
> >
> > Console switches take long... yes it would be nice to fix X :-).
> >
> > But we did not reproduce that 12 seconds problem. Can you try patches
> > from
> >
> > http://marc.theaimsgroup.com/?l=linux-acpi&m=115506915023030&q=raw
> >
>
> OK, that compiles.
>
> I think we should get this documented and merge it (or something like it) into
> mainline. This is one area where it's worth investing in debugging tools.
>
> If you agree, are we happy with it in its present form?

I am. ;-)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/