sched/wait: Document timeout corner case
authorScot Doyle <lkml14@scotdoyle.com>
Sun, 24 Aug 2014 17:12:27 +0000 (17:12 +0000)
committerIngo Molnar <mingo@kernel.org>
Fri, 5 Sep 2014 10:37:10 +0000 (12:37 +0200)
commit6b44f519017b219a12b37173c7eef8dfce2c0100
tree011afccc53ba6ac2e63ab8ab779c5e2ef79925b2
parent35b123e2f701b28977db2cde7dbbdb3fad28cad1
sched/wait: Document timeout corner case

The timeout may elapse without 0 being returned, such as when waiting
on an unused queue. Document this possibility.

Signed-off-by: Scot Doyle <lkml14@scotdoyle.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/alpine.LNX.2.11.1408241710070.6462@localhost.localdomain
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/wait.h