From: Oleg Nesterov Date: Mon, 21 Jan 2013 19:48:17 +0000 (+0100) Subject: wake_up_process() should be never used to wakeup a TASK_STOPPED/TRACED task X-Git-Tag: v3.2.39~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8957028bd89221048c784d524ee42513356fc822;p=pandora-kernel.git wake_up_process() should be never used to wakeup a TASK_STOPPED/TRACED task commit 9067ac85d533651b98c2ff903182a20cbb361fcb upstream. wake_up_process() should never wakeup a TASK_STOPPED/TRACED task. Change it to use TASK_NORMAL and add the WARN_ON(). TASK_ALL has no other users, probably can be killed. Signed-off-by: Oleg Nesterov Signed-off-by: Linus Torvalds [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed