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>
This commit is contained in:
Родитель
9b7f6597f0
Коммит
22aceb3176
|
@ -4695,7 +4695,7 @@ static void work_for_cpu_fn(struct work_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
|
||||
|
|
Загрузка…
Ссылка в новой задаче