]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Add kthread_stop_sem()
authorAlan Stern <stern@rowland.harvard.edu>
Sun, 30 Oct 2005 23:01:40 +0000 (15:01 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:17 +0000 (17:37 -0800)
commit0dcc75196c97d1517a469569e16fb9ded0da072d
tree2dcf017eedd4a72698593c878aff3ae31e3a6b09
parent5350fd84d6e9beef2d98935fd82567820c2ba262
[PATCH] Add kthread_stop_sem()

Enhance the kthread API by adding kthread_stop_sem, for use in stopping
threads that spend their idle time waiting on a semaphore.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/kthread.h
kernel/kthread.c