workqueue: Fix comment for work_on_cpu()
PATCH 1/1 workqueue: Fix comment for work_on_cpu()
Function is processed in thread context, not in user context.
Cc Tejun Heo <[email protected]>
Cc Lai Jiangshan <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
Signed-off-by Anna-Maria Gleixner <[email protected]>
--- kernel/workqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/workqueue.c +1 -1
@@ -4696,7 +4696,7 @@ static void work_for_cpu_fn(struct work_ }/** -* work_on_cpu - run a function in user context on a particular cpu +* work_on_cpu - run a function in thread context on a particular cpu * @cpu: the cpu to run on * @fn: the function to run * @arg: the function arg
Hello,
Quoted 7 lines · Anna-Maria Gleixner
Function is processed in thread context, not in user context.
Cc Tejun Heo <[email protected]>Cc Lai Jiangshan <[email protected]>Cc Peter Zijlstra <[email protected]>Cc Thomas Gleixner <[email protected]>Signed-off-by Anna-Maria Gleixner <[email protected]>
Applied to wq/for-4.6.
Thanks.
Signature · 1 line
tejun