]> git.baikalelectronics.ru Git - kernel.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)
commitee96640a0852f83a8df86959c56f045f8cfb62f8
tree67226430b51133635bea0a74b670441562de9144
parentcd6d77e31846ce2155a588d253dbd99f5f6584b0
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