diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-01-21 20:48:17 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-27 20:49:00 -0800 |
commit | 7b554bf5fb215368a77778a001383bb50448738c (patch) | |
tree | ac5900a133b4ac1c1ef3e017f28120ee3a5f7835 /drivers/memory | |
parent | ddfc30aacf58bf565c91f29150fe2086b698737b (diff) | |
download | lwn-7b554bf5fb215368a77778a001383bb50448738c.tar.gz lwn-7b554bf5fb215368a77778a001383bb50448738c.zip |
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 <oleg@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/memory')
0 files changed, 0 insertions, 0 deletions