Skip to content

Commit

Permalink
workqueue: Fix comment for work_on_cpu()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anna-Maria Gleixner authored and Tejun Heo committed Mar 11, 2016
1 parent 9b7f659 commit 22aceb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/workqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22aceb3

Please sign in to comment.