Parcourir la source

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>
Anna-Maria Gleixner il y a 9 ans
Parent
commit
22aceb3176
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      kernel/workqueue.c

+ 1 - 1
kernel/workqueue.c

@@ -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
  * @cpu: the cpu to run on
  * @fn: the function to run
  * @fn: the function to run
  * @arg: the function arg
  * @arg: the function arg