public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] pcibus_to_node() addition to topology infrastructure
@ 2002-10-30 23:42 Matthew Dobson
  2002-10-30 23:44 ` Matthew Dobson
  2002-10-31  0:03 ` Jesse Barnes
  0 siblings, 2 replies; 6+ messages in thread
From: Matthew Dobson @ 2002-10-30 23:42 UTC (permalink / raw)
  To: linux-kernel, Linus Torvalds, Patrick Mansfield

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


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

end of thread, other threads:[~2002-10-31  1:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2002-10-31  0:24   ` Matthew Dobson
2002-10-31  0:59     ` Jesse Barnes
2002-10-31  1:14       ` Matthew Dobson

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