diff options
author | Thomas Gleixner <[email protected]> | 2020-03-21 12:25:59 +0100 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2020-03-21 16:00:23 +0100 |
commit | b3212fe2bc06fa1014b3063b85b2bac4332a1c28 (patch) | |
tree | 5c27a5307ee1bd6784fde4be7fa11c05f29a32b4 /kernel/sched/completion.c | |
parent | e5d4d1756b07d9490a0269a9e68c1e05ee1feb9b (diff) |
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'kernel/sched/completion.c')
0 files changed, 0 insertions, 0 deletions