diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-03-21 12:25:59 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-03-21 16:00:23 +0100 |
commit | b3212fe2bc06fa1014b3063b85b2bac4332a1c28 (patch) | |
tree | 5c27a5307ee1bd6784fde4be7fa11c05f29a32b4 /block/blk-core.c | |
parent | e5d4d1756b07d9490a0269a9e68c1e05ee1feb9b (diff) | |
download | linux-b3212fe2bc06fa1014b3063b85b2bac4332a1c28.tar.bz2 |
sched/swait: Prepare usage in completions
As a preparation to use simple wait queues for completions:
- Provide swake_up_all_locked() to support complete_all()
- Make __prepare_to_swait() public available
This is done to enable the usage of complete() within truly atomic contexts
on a PREEMPT_RT enabled kernel.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200321113242.228481202@linutronix.de
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions