]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
kthread: call wake_up_process() without the lock being held
authorDmitry Adamushko <dmitry.adamushko@gmail.com>
Tue, 29 Apr 2008 07:59:23 +0000 (00:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:04 +0000 (08:06 -0700)
commitcbd9b67bd3883dff0ef4b8ec9229d315a9ba38f0
tree38a59233e8ec529980741dac371dcb9587d0a098
parenta2d416dcc92e576d0e339efd641bd3d8ee2bfb4d
kthread: call wake_up_process() without the lock being held

From the POV of synchronization, there should be no need to call
wake_up_process() with the 'kthread_create_lock' being held.

Signed-off-by: Dmitry Adamushko <dmitry.adamushko@gmail.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Andy Whitcroft <apw@shadowen.org>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/kthread.c