From: Andrew Morton <akpm@digeo.com>
To: "linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: NUMA is bust with CONFIG_PREEMPT=y
Date: Wed, 02 Oct 2002 14:46:33 -0700 [thread overview]
Message-ID: <3D9B6939.397DB9EA@digeo.com> (raw)
#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/
next reply other threads:[~2002-10-02 21:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-02 21:46 Andrew Morton [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D9B6939.397DB9EA@digeo.com \
--to=akpm@digeo.com \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox