浏览代码

workqueue: Comment correction in file header

No functional change. There are two worker pools for each cpu in
current implementation (one for normal work items and the other for
high priority ones).

tj: Whitespace adjustments.

Signed-off-by: Libin <huawei.libin@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Libin 12 年之前
父节点
当前提交
b11895c458
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      kernel/workqueue.c

+ 4 - 3
kernel/workqueue.c

@@ -16,9 +16,10 @@
  *
  *
  * This is the generic async execution mechanism.  Work items as are
  * This is the generic async execution mechanism.  Work items as are
  * executed in process context.  The worker pool is shared and
  * executed in process context.  The worker pool is shared and
- * automatically managed.  There is one worker pool for each CPU and
- * one extra for works which are better served by workers which are
- * not bound to any specific CPU.
+ * automatically managed.  There are two worker pools for each CPU (one for
+ * normal work items and the other for high priority ones) and some extra
+ * pools for workqueues which are not bound to any specific CPU - the
+ * number of these backing pools is dynamic.
  *
  *
  * Please read Documentation/workqueue.txt for details.
  * Please read Documentation/workqueue.txt for details.
  */
  */