We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d812796 commit bdb0a65Copy full SHA for bdb0a65
include/linux/workqueue.h
@@ -51,19 +51,14 @@ enum {
51
WORK_STRUCT_STATIC = 0,
52
#endif
53
54
- /*
55
- * The last color is no color used for works which don't
56
- * participate in workqueue flushing.
57
- */
58
- WORK_NR_COLORS = (1 << WORK_STRUCT_COLOR_BITS) - 1,
59
- WORK_NO_COLOR = WORK_NR_COLORS,
+ WORK_NR_COLORS = (1 << WORK_STRUCT_COLOR_BITS),
60
61
/* not bound to any CPU, prefer the local CPU */
62
WORK_CPU_UNBOUND = NR_CPUS,
63
64
/*
65
* Reserve 8 bits off of pwq pointer w/ debugobjects turned off.
66
- * This makes pwqs aligned to 256 bytes and allows 15 workqueue
+ * This makes pwqs aligned to 256 bytes and allows 16 workqueue
67
* flush colors.
68
*/
69
WORK_STRUCT_FLAG_BITS = WORK_STRUCT_COLOR_SHIFT +
0 commit comments