From: Oleg Nesterov Date: Thu, 11 Jun 2009 12:12:55 +0000 (+0100) Subject: slow_work_thread() should do the exclusive wait X-Git-Tag: v2.6.31-rc1~387 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b415c49a864dab8ee90713833d642dd461eccae9;p=pandora-kernel.git 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 Signed-off-by: David Howells Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed