[PATCH 0/2] sched/isolation: Isolate unbound kthreads

From: Frederic Weisbecker
Date: Wed May 27 2020 - 10:29:18 EST


Kthreads are harder to affine and isolate than user tasks. They can't
be placed inside cgroups/cpusets and the affinity for any newly
created kthread is always overriden from the inherited kthreadd's
affinity to system wide. Take that into account for nohz_full.

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
sched/core

HEAD: 774258ad06e832e9fbdcf681225d2c29421a100f

Thanks,
Frederic
---

Marcelo Tosatti (2):
kthread: Switch to cpu_possible_mask
isolcpus: Affine unbound kernel threads to housekeeping cpus


include/linux/sched/isolation.h | 1 +
kernel/kthread.c | 6 ++++--
kernel/sched/isolation.c | 3 ++-
3 files changed, 7 insertions(+), 3 deletions(-)