+ sched-force-sbin-init-off-isolated-cpus.patch added to -mm tree
A message that is not in the archive (sent off-list or not yet received): [email protected]
Paul Jackson
Acked-byQuoted 2 lines · Nick
Force
/sbin/initoff isolated cpus (unless every CPU is specified as an isolcpu).
For our big honkin NUMA iron SGI customers, who are serious about this sort of thing, we actually already do this, entirely in user space. I use the init= kernel command line boot option to run a pre-init program, that sets up a configurable (by a config file in /etc) cpuset, then exec's the real init in that cpuset. This feature is known to SGI customers as the "bootcpuset."
But Nick's patch looks ok to me. It seems harmless enough for our NUMA power users - as the bootcpuset they configured will just override what Nick's code did a few milliseconds (to read the pre-init executable off the disk) earlier, harmlessly. Meanwhile, the remaining (and likely vast majority of) isolcpu users will get the behaviour they prefer.
Signature · 3 lines
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <[email protected]> 1.925.600.0401