wait-simple: Simple waitqueue implementation
authorThomas Gleixner <tglx@linutronix.de>
Mon, 12 Dec 2011 11:29:04 +0000 (12:29 +0100)
committerClark Williams <williams@redhat.com>
Wed, 28 Dec 2011 22:25:51 +0000 (16:25 -0600)
commit9decb57fc1fd2768ddec968efeb02e2aaea756fa
tree68ef1d15bdf1ba61c826c59bf32ec04880f69001
parent6f6bbea05db565bc211ebaa501606b15d0ccc5e4
wait-simple: Simple waitqueue implementation

wait_queue is a swiss army knife and in most of the cases the
complexity is not needed. For RT waitqueues are a constant source of
trouble as we can't convert the head lock to a raw spinlock due to
fancy and long lasting callbacks.

Provide a slim version, which allows RT to replace wait queues. This
should go mainline as well, as it lowers memory consumption and
runtime overhead.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/wait-simple.h [new file with mode: 0644]
kernel/Makefile
kernel/wait-simple.c [new file with mode: 0644]