diff options
author | 2009-06-11 13:12:55 +0100 | |
---|---|---|
committer | 2009-06-11 11:26:38 -0700 | |
commit | b415c49a864dab8ee90713833d642dd461eccae9 (patch) | |
tree | f5e763afdab9a43ff632993d7be49e73d8a6df6c /include/linux/stacktrace.h | |
parent | Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev (diff) | |
download | wireguard-linux-b415c49a864dab8ee90713833d642dd461eccae9.tar.xz wireguard-linux-b415c49a864dab8ee90713833d642dd461eccae9.zip |
slow_work_thread() should do the exclusive wait
slow_work_thread() sleeps on slow_work_thread_wq without WQ_FLAG_EXCLUSIVE,
this means that slow_work_enqueue()->__wake_up(nr_exclusive => 1) wakes up all
kslowd threads. This is not what we want, so we change slow_work_thread() to
use prepare_to_wait_exclusive() instead.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions