* [PATCH] workqueue: Fix comment for work_on_cpu()
@ 2016-03-10 11:07 Anna-Maria Gleixner
2016-03-11 17:34 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Anna-Maria Gleixner @ 2016-03-10 11:07 UTC (permalink / raw)
To: linux-kernel
Cc: Anna-Maria Gleixner, Tejun Heo, Lai Jiangshan, Peter Zijlstra,
Thomas Gleixner
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>
---
kernel/workqueue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] workqueue: Fix comment for work_on_cpu()
2016-03-10 11:07 [PATCH] workqueue: Fix comment for work_on_cpu() Anna-Maria Gleixner
@ 2016-03-11 17:34 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2016-03-11 17:34 UTC (permalink / raw)
To: Anna-Maria Gleixner
Cc: linux-kernel, Lai Jiangshan, Peter Zijlstra, Thomas Gleixner
Hello,
On Thu, Mar 10, 2016 at 12:07:38PM +0100, Anna-Maria Gleixner wrote:
> 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>
Applied to wq/for-4.6.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-11 17:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-10 11:07 [PATCH] workqueue: Fix comment for work_on_cpu() Anna-Maria Gleixner
2016-03-11 17:34 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).