On Thu, Jul 10, 2008 at 01:35:35PM +0200, Pavel Machek wrote: > On Thu 2008-07-10 02:01:55, Rafael J. Wysocki wrote: > > From: Shaohua Li <shaohua.li@xxxxxxxxx> > > Subject: serio: Speed-up resume > > > > serio_resume will call into psmouse_extensions(). In my test, the > > routine is very slow, it blocks resume about 1 sec. Below patch (move > > resume to kseriod, just like boot time probe) cures the issue in my > > test, and seems no side effect. I'm no familiar with serio driver, so > > please check. > > > > Signed-off-by: Shaohua Li <shaohua.li@xxxxxxxxx> > > Acked-by: Len Brown <lenb@xxxxxxxxxx> > > Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx> > > Cc: Jiri Kosina <jikos@xxxxxxx> > > ACK from me, but I'm not a serio expert. > Pavel I think the patch makes sense, maybe it will even help with resume in general when we fail to resume for some reason and then when they reload drivers after the system is fully up it magically starts workign again. It is in my 'master' branch from which Andrew is pulling into -mm. I will let it sit there for a bit though. -- Dmitry _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm