linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* NUMA is bust with CONFIG_PREEMPT=y
@ 2002-10-02 21:46 Andrew Morton
  2002-10-02 21:49 ` Martin J. Bligh
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Morton @ 2002-10-02 21:46 UTC (permalink / raw)
  To: linux-mm

#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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-10-02 22:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-02 21:46 NUMA is bust with CONFIG_PREEMPT=y Andrew Morton
2002-10-02 21:49 ` Martin J. Bligh
2002-10-02 22:02   ` Robert Love
2002-10-02 22:04     ` Martin J. Bligh
2002-10-02 22:15       ` Robert Love

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox