Skip to content

Commit 22aceb3

Browse files
anna-marialxhtejun
authored andcommitted
workqueue: Fix comment for work_on_cpu()
Function is processed in thread context, not in user context. Cc: Tejun Heo <tj@kernel.org> Cc: Lai Jiangshan <jiangshanlai@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de> Signed-off-by: Tejun Heo <tj@kernel.org>
1 parent 9b7f659 commit 22aceb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/workqueue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4695,7 +4695,7 @@ static void work_for_cpu_fn(struct work_struct *work)
46954695
}
46964696

46974697
/**
4698-
* work_on_cpu - run a function in user context on a particular cpu
4698+
* work_on_cpu - run a function in thread context on a particular cpu
46994699
* @cpu: the cpu to run on
47004700
* @fn: the function to run
47014701
* @arg: the function arg

0 commit comments

Comments
 (0)