Re: [PATCH] PM: invoke suspend notifications after console switch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > > > > triggered in any way by using the suspend notifications. This causes
> > > > > the system to lock up between X being needed to switch away from the
> > > > > VT and X already waiting for resume in the apm ioctl.
> > > > > 
> > > > > This patch moves the console switch (if enabled) before the suspend
> > > > > notification (and after the resume notification) to avoid this issue.
> > > > 
> > > > I don't see this in the suspend git tree yet, anything wrong with it?
> > > 
> > > Its pretty intrusive I'd say.
> 
> How so?  There's only one user of the suspend notifiers right now, AFAICS.

Ok... that and consistence with uswsusp makes it acceptable I guess.
Feel free to add my acked-by and sorry for noise.

							Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux