]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
workqueue: fix a piece of comment about reserved bits for work flags
authorLai Jiangshan <laijs@linux.alibaba.com>
Mon, 1 Jun 2020 08:44:39 +0000 (08:44 +0000)
committerTejun Heo <tj@kernel.org>
Mon, 1 Jun 2020 15:02:28 +0000 (11:02 -0400)
8a2e8e5dec7e("workqueue: fix cwq->nr_active underflow")
allocated one more bit from the work flags, and it updated
partial of the comments (128 bytes -> 256 bytes), but it
failed to update the info about the number of reserved bits.

Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/workqueue.h

index 8b505d22fc0e1baf4f9a9ef4bff9dbb275128c78..26de0cae2a0a80a959df10003e104e1e12a241be 100644 (file)
@@ -62,7 +62,7 @@ enum {
        WORK_CPU_UNBOUND        = NR_CPUS,
 
        /*
-        * Reserve 7 bits off of pwq pointer w/ debugobjects turned off.
+        * Reserve 8 bits off of pwq pointer w/ debugobjects turned off.
         * This makes pwqs aligned to 256 bytes and allows 15 workqueue
         * flush colors.
         */