[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NUMA is bust with CONFIG_PREEMPT=y



#define numa_node_id()  (__cpu_to_node(smp_processor_id()))

Either you're going to have to change that to get_cpu_only_on_numa() and
add the matching put_cpu_only_on_numa()'s, or disable preempt in
the config system.

Now, it's probably the case that this happens to work OK;
if you hop CPUs you just end up doing a suboptimal cross-node
operation.  But it'd be better to fix it up, IMO.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/