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, 15 Feb 2012 16:33:03 +0000 (10:33 -0600)
commitc8e451704e219731d67bfd66ce15fca9952124e9
tree98bd15b8770e22b6e6c811a4aba37ade357378b4
parentbbcfa4c185c14c6446fa22201c372a7325ce968a
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]