Linus Torvalds writes: (Summary) On Sat, Sep 16, 2017 at 10:35 AM, Thomas Gleixner <tglx@linutronix.de> UP assumes that all CPU masks are always that
"one CPU set".
I guess we could somehow try to move away from that, but really, the
assumption of fixed masks ends up simplifying the code generation a
lot, so it made tons of sense back when UP was a primary target. People should simply not expect
to traverse over empty masks in anything that is UP.
So I suspect your perf fix is the right one, and maybe we could/should
just make people more aware of the empty cpumask issue with UP.
↧