mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: tony.luck@intel.com
Cc: lse-tech@lists.sourceforge.net, nitin.a.kamble@intel.com,
	linux-kernel@vger.kernel.org, tomlins@cam.org, akpm@digeo.com,
	mbligh@aracnet.com
Subject: Re: [Lse-tech] [RFC] numa slab for 2.5.41-mm1
Date: Tue, 08 Oct 2002 17:50:04 -0700 (PDT)	[thread overview]
Message-ID: <20021008.175004.73372438.davem@redhat.com> (raw)
In-Reply-To: <39B5C4829263D411AA93009027AE9EBB1EF28EFB@fmsmsx35.fm.intel.com>

   From: "Luck, Tony" <tony.luck@intel.com>
   Date: Tue, 8 Oct 2002 16:29:45 -0700 
   
   If ptr_to_nodeid() is made a platform dependent function, then
   there are some platforms that can do this very efficiently (since
   the nodeid is embedded in some of the high-order address bits), and
   some for which this is complex (e.g. platforms that concatenate
   memory from each node).

I suggest to do it like this, provide the portable version unless some
"HAVE_ARCH_PTR_TO_NODEID" CCP macro is defined in which case the
architecture can make the "address bits" optimization or similar.

The is how we usually handle such things.

      parent reply	other threads:[~2002-10-09  0:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-08 23:29 Luck, Tony
2002-10-08 23:34 ` Martin J. Bligh
2002-10-09  0:50 ` David S. Miller [this message]

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=20021008.175004.73372438.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=akpm@digeo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lse-tech@lists.sourceforge.net \
    --cc=mbligh@aracnet.com \
    --cc=nitin.a.kamble@intel.com \
    --cc=tomlins@cam.org \
    --cc=tony.luck@intel.com \
    /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

all inboxes | Powered by JetHome®