Re: [PATCH 00/10] workqueue: break affinity initiatively

From: Peter Zijlstra
Date: Tue Dec 15 2020 - 02:51:45 EST


On Tue, Dec 15, 2020 at 01:44:53PM +0800, Lai Jiangshan wrote:
> I don't know how the scheduler distinguishes all these
> different cases under the "new assumption".

The special case is:

(p->flags & PF_KTHREAD) && p->nr_cpus_allowed == 1