The use of wake_q_add() and wake_up_q() functions help to do task wakeup
without holding lock can help to reduce lock hold time. They should be
available to kernel modules as well.
A new wake_q_empty() inline function is also added.
Signed-off-by: Waiman Long
---
include/linux/sched/wake_q.h |
The use of wake_q_add() and wake_up_q() functions help to do task wakeup
without holding lock can help to reduce lock hold time. They should be
available to kernel modules as well.
A new wake_q_empty() inline function is also added.
Signed-off-by: Waiman Long
---
include/linux/sched/wake_q.h |
2 matches
Mail list logo