On Mon, 2010-08-16 at 09:34 -0400, Don Zickus wrote:
OK, in that case the patch looks sensible.
Right, if you can freely schedule, you can get migrated, which means you
can get migrated between having determined the return value and using
it, at which point the computed value is meaningless.
__get_cpu_var() gets you the value on the current cpu, per_cpu() takes a
cpu argument.
--