What are these flags for workqueue means?
问题 While studying workqueue, I came across WorkQueue flags & constants defined in kernel. I have following doubts which i could not understand. What exactly draining & rescuer mean here? WQ_DRAINING = 1 << 6, /* internal: workqueue is draining */ WQ_RESCUER = 1 << 7, /* internal: workqueue has rescuer */ The number of CPUs defined for unbound workqueues is 4. What if I have an octa core processor. How the unbounded wq will be bounded to cpus. How they decided which CPUs to run as they have now 8