Re: [Bug #13306] hibernate slow on _second_ run

From: Johannes Berg
Date: Wed Jun 03 2009 - 17:01:28 EST


On Wed, 2009-06-03 at 11:16 +0200, Rafael J. Wysocki wrote:
> On Wednesday 03 June 2009, Johannes Berg wrote:
> > On Mon, 2009-06-01 at 22:48 +0200, Rafael J. Wysocki wrote:
> > > > No, it's now hanging 20 seconds much later, after returning to
> > > > userspace :( But the dmesg log still has a hang of ~20.5 seconds just
> > > > like before, between two kernel messages...
> > >
> > > Hmm. Can you try to comment out suspend_device_irqs() and resume_device_irqs()
> > > in drivers/base/power/main.c and see what happens?
> >
> > Oddly, that does seem to help. I'm sure it can't be a solution though :)
>
> Not really. ;-)
>
> Still, something like the (untested) patch below can be. Can you please give
> it a try?

Seems to work, though I'm not sure yet whether it really helps, that
needs some more verification, will let you know tomorrow.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part