sched/wait: Document waitqueue_active()
authorPeter Zijlstra <peterz@infradead.org>
Fri, 23 Oct 2015 12:32:34 +0000 (14:32 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 23 Nov 2015 08:37:52 +0000 (09:37 +0100)
commit69e51e92a394088fc3266ed5136903074b44f3c4
treeaa82af638e05ee38ad4a3c0b8c5c36ae2f8365a5
parent38c6ade2dd4dcc3bca06c981e2a1b91289046177
sched/wait: Document waitqueue_active()

Kosuku reports that there were a fair number of buggy
waitqueue_active() users and this function deserves a big comment in
order to avoid growing more.

Reported-by: Kosuke Tatsukawa <tatsu@ab.jp.nec.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/wait.h