From: Jesse Barnes <jbarnes@sgi.com>
To: Matthew Dobson <colpatch@us.ibm.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [patch] pcibus_to_node() addition to topology infrastructure
Date: Wed, 30 Oct 2002 16:03:26 -0800 [thread overview]
Message-ID: <20021031000326.GA3049@sgi.com> (raw)
In-Reply-To: <3DC06E75.6010003@us.ibm.com>
This is a nice addition, but just FYI there are SGI systems that have
PCI busses attached to more than one node. I guess for now we can just
round-robin through the attached nodes for the return value.
Thanks,
Jesse
On Wed, Oct 30, 2002 at 03:42:45PM -0800, Matthew Dobson wrote:
> Linus,
> Here's a patch that adds PCI busses to the list of basic topology
> elements (incl. CPUs, MemBlks, & Nodes).
>
> pcibus_to_node-2.5.44.patch
>
> This patch adds a new topology macro: pcibus_to_node(). This will be
> useful to allow I/O bound processes to bind themselves to CPUs/Nodes
> close to the PCI busses they are communicating over.
>
> 1) Adds pcibus_to_node() macro to asm-generic/topology.h
> 2) Makes small modifications to NUMA-Q PCI code, mostly modifying macros.
> 3) Uses the macros from #2 to implement pcibus_to_node() in
> asm-i386/topology.h
>
> [mcd@arrakis patches]$ diffstat api_patches/pcibus_to_node-2.5.44.patch
> arch/i386/pci/numa.c | 33 +++++++++++++++------------------
> include/asm-generic/topology.h | 3 +++
> include/asm-i386/topology.h | 3 +++
> 3 files changed, 21 insertions(+), 18 deletions(-)
>
> Cheers!
>
> -Matt
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2002-10-30 23:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-30 23:42 [patch] pcibus_to_node() addition to topology infrastructure Matthew Dobson
2002-10-30 23:44 ` Matthew Dobson
2002-10-31 0:03 ` Jesse Barnes [this message]
2002-10-31 0:24 ` Matthew Dobson
2002-10-31 0:59 ` Jesse Barnes
2002-10-31 1:14 ` Matthew Dobson
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=20021031000326.GA3049@sgi.com \
--to=jbarnes@sgi.com \
--cc=colpatch@us.ibm.com \
--cc=linux-kernel@vger.kernel.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