Messages in this thread Patch in this message | | | From | Lai Jiangshan <> | Subject | [PATCH 08/12] workqueue: fix comments of insert_work() | Date | Thu, 27 Sep 2012 01:20:39 +0800 |
| |
This comment is so important to understand the CMWQ, fix it and make new reviewer who read workqueue.c at the first time.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> --- kernel/workqueue.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index d37f446..89fd1b2 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -1169,7 +1169,7 @@ static void insert_work(struct cpu_workqueue_struct *cwq, list_add_tail(&work->entry, head); /* - * Ensure either worker_sched_deactivated() sees the above + * Ensure either wq_worker_sleeping() sees the above * list_add_tail() or we see zero nr_running to avoid workers * lying around lazily while there are works to be processed. */ -- 1.7.7.6
| |