Messages in this thread | | | Date | Wed, 1 Feb 2012 15:03:57 +0100 | From | Pavel Machek <> | Subject | Re: [PATCH v2 2/4] PM/Freezer: Make thaw_processes() thaw only userspace tasks |
| |
Hi!
> The thing is that, I wanted to avoid a bug in the patch posted at > https://lkml.org/lkml/2012/1/29/47 as explained in the link. > > So I guess I should have simply done: > > freeze_kernel_threads() calls thaw_kernel_threads() upon error.
Seems like a good idea. When error is reported, call should be NOP. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| |