Re: [linux-pm] Async suspend-resume patch w/ completions (was: Re:Async?suspend-resume patch w/ rwsems)

From: Vojtech Pavlik
Date: Mon Dec 21 2009 - 06:20:38 EST


On Sun, Dec 20, 2009 at 11:39:15PM -0800, Dmitry Torokhov wrote:

> > On the nx6325 that appears to reduce the suspend time as much so the effect
> > of async is not visible any more. On the Wind it decreases the total suspend
> > time almost by half!
> >
> > Please push this patch to Linus. :-)
> >
>
> Let's see if I manage to solicit some testers first. FWIW it seems to be
> working on my boxes.
>
> But if this works then I am not sure we even want to bother with async
> suspend of i8042 and serios. And serio already does resume
> asynchronously through kseriod.

I'm kind of wondering where this will break, but I don't remember why
the RESET_BAT was put in exactly - the point of making sure the BIOS
doesn't get confused by the advanced modes is correct, and is required
at least when a keyboard is set to "Set 3", but RESET_BAT is a too heavy
hammer anyway - we could just make sure to switch the kbd/mouse to
'default' modes instead of doing a full reset.

--
Vojtech Pavlik
Director SuSE Labs
--
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/