Cc: LKML <linux-kernel@...>, Steven Rostedt <rostedt@...>, Thomas Gleixner <tglx@...>, linux-rt-users <linux-rt-users@...>, <akpm@...>, Clark Williams <clark.williams@...>, Peter Zijlstra <peterz@...>, Luis Claudio R. Goncalves <lclaudio@...>, Gregory Haskins <ghaskins@...>, Linus Torvalds <torvalds@...>, Andi Kleen <andi-suse@...>
hm, changing/saving/restorig cpus_allowed is really considered a 'heavy'
operation compared to preempt_disable(). On a 4096 CPUs box cpus_allowed
is 4096 bits which is half a kilobyte ...
preempt_disable()/enable() on the other hand only touches a single
variable, (thread_info->preempt_count which is an u32)
Ingo
--