[linux-pm] [Suspend-devel] [PATCH -mm 1/2]: PM: Fix handling of stopped tasks

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

 



Hi!

> Ah, freeze(p) need not be under the lock.
> 
> Besides, I'm now thinking the previous version is also correct, because even
> if SIGCONT comes after we have forced SIGSTOP, it will remove the SIGSTOP
> from the queue and the task's state will change to TASK_RUNNING, so the
> next signal_wake_up() will do what it should.
> 
> I prefer that one, because it's shorter and doesn't affect sched.h. ;-)

Okay... consider your latest patches ACKed. (But it would be nice to
make them wait in -mm to 2.6.21, I believe this needs testing).
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


[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