Messages in this thread Patch in this message | | | From | Sasha Levin <> | Subject | [PATCH] sched: remove false-positive warning from wake_up_process() | Date | Mon, 30 Nov 2015 20:34:20 -0500 |
| |
Futex can have a spurious wake up before we actually wake it up on our own, which will trigger this warning if the task is still stopped.
Fixes: 9067ac85d533651b98c2ff903182a20cbb361fcb ("wake_up_process() should be never used to wakeup a TASK_STOPPED/TRACED task") Signed-off-by: Sasha Levin <sasha.levin@oracle.com> --- kernel/sched/core.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 4d568ac..fc8c987 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -2039,7 +2039,6 @@ out: */ int wake_up_process(struct task_struct *p) { - WARN_ON(task_is_stopped_or_traced(p)); return try_to_wake_up(p, TASK_NORMAL, 0); } EXPORT_SYMBOL(wake_up_process); -- 2.5.0
| |