]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
freezer: prevent new tasks from inheriting TIF_FREEZE set
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 18 Oct 2007 10:04:45 +0000 (03:04 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:18 +0000 (14:37 -0700)
commit2e1318956ce6bf149af5c5e98499b5cd99f99c89
tree67226430b51133635bea0a74b670441562de9144
parent232b14328050a4639130b0dec185f43968e72035
freezer: prevent new tasks from inheriting TIF_FREEZE set

Tasks should go to the refrigerator only if explicitly requested to do that by
the freezer and not as a result of inheriting the TIF_FREEZE flag set from the
parent.  Make it happen.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Acked-by: Nigel Cunningham <nigel@nigel.suspend2.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/fork.c