summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/cgroup.c
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2020-04-04 00:35:17 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-04-15 10:38:26 +0200
commit3662daf023500dc084fa3b96f68a6f46179ddc73 (patch)
tree06cf6888d3cf6482dc942ba50d6e6cf44bd4079d /kernel/bpf/cgroup.c
parentLinux 5.7-rc1 (diff)
downloadlinux-3662daf023500dc084fa3b96f68a6f46179ddc73.tar.xz
linux-3662daf023500dc084fa3b96f68a6f46179ddc73.zip
sched/isolation: Allow "isolcpus=" to skip unknown sub-parameters
The "isolcpus=" parameter allows sub-parameters before the cpulist is specified, and if the parser detects an unknown sub-parameters the whole parameter will be ignored. This design is incompatible with itself when new sub-parameters are added. An older kernel will not recognize the new sub-parameter and will invalidate the whole parameter so the CPU isolation will not take effect. It emits a warning: isolcpus: Error, unknown flag The better and compatible way is to allow "isolcpus=" to skip unknown sub-parameters, so that even if new sub-parameters are added an older kernel will still be able to behave as usual even if with the new sub-parameter specified on the command line. Ideally this should have been there when the first sub-parameter for "isolcpus=" was introduced. Suggested-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Peter Xu <peterx@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/20200403223517.406353-1-peterx@redhat.com
Diffstat (limited to 'kernel/bpf/cgroup.c')
0 files changed, 0 insertions, 0 deletions