All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Dobson <colpatch@us.ibm.com>
To: linux-kernel <linux-kernel@vger.kernel.org>,
	Linus Torvalds <torvalds@transmeta.com>,
	Patrick Mansfield <patmans@us.ibm.com>
Subject: [patch] pcibus_to_node() addition to topology infrastructure
Date: Wed, 30 Oct 2002 15:42:45 -0800	[thread overview]
Message-ID: <3DC06E75.6010003@us.ibm.com> (raw)

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


             reply	other threads:[~2002-10-30 23:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-30 23:42 Matthew Dobson [this message]
2002-10-30 23:44 ` [patch] pcibus_to_node() addition to topology infrastructure Matthew Dobson
2002-10-31  0:03 ` Jesse Barnes
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=3DC06E75.6010003@us.ibm.com \
    --to=colpatch@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patmans@us.ibm.com \
    --cc=torvalds@transmeta.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.