[PATCH 1/2] sched/core: Export wake_q functions to kernel modules

2018-08-23 Thread Waiman Long
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 |

[PATCH 1/2] sched/core: Export wake_q functions to kernel modules

2018-08-23 Thread Waiman Long
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 |