aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorGravatar Johan Hedberg <johan.hedberg@intel.com> 2015-01-30 13:14:36 +0200
committerGravatar Ingo Molnar <mingo@kernel.org> 2015-02-04 07:52:32 +0100
commit44fc0e5eec00db5fba748803c95920098089c4cc (patch)
treebfd318700c9e487ad35ac0d855ea864f089f211a /kernel
parentsched: Pull resched loop to __schedule() callers (diff)
downloadlinux-44fc0e5eec00db5fba748803c95920098089c4cc.tar.gz
linux-44fc0e5eec00db5fba748803c95920098089c4cc.tar.bz2
linux-44fc0e5eec00db5fba748803c95920098089c4cc.zip
sched/wait: Introduce wait_on_bit_timeout()
Add a new wait_on_bit_timeout() helper, basically the same as wait_on_bit() except that it also takes a 'timeout' parameter. All the building blocks like bit_wait_timeout() and out_of_line_wait_on_bit_timeout() are already in place so the addition is rather simple. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: davem@davemloft.net Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: http://lkml.kernel.org/r/1422616476-2917-2-git-send-email-johan.hedberg@gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions