1. 08 2月, 2007 2 次提交
  2. 08 12月, 2006 1 次提交
    • C
      [PATCH] add numa node information to struct device · 87348136
      Christoph Hellwig 提交于
      For node-aware skb allocations we need information about the node in struct
      net_device or struct device.  Davem suggested to put it into struct device
      which this patch does.
      
      In particular:
      
       - struct device gets a new int numa_node member if CONFIG_NUMA is set
       - there are two new helpers, dev_to_node and set_dev_node to
         transparently deal with the non-numa case
       - for pci devices the node-info is set to the value we get from
         pcibus_to_node.
      
      Note that for some architectures pcibus_to_node doesn't work yet at the time
      we call it currently.  This is harmless and will just mean skb allocations
      aren't node-local on this architectures until the implementation of
      pcibus_to_node on these architectures have been updated (There are patches for
      x86 and x86_64 floating around)
      
      [akpm@osdl.org: cleanup]
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Cc: Christoph Lameter <clameter@engr.sgi.com>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      87348136
  3. 02 12月, 2006 10 次提交
  4. 26 11月, 2006 1 次提交
  5. 19 10月, 2006 4 次提交
  6. 26 9月, 2006 10 次提交
  7. 13 7月, 2006 2 次提交
  8. 01 7月, 2006 1 次提交
  9. 23 6月, 2006 1 次提交
  10. 22 6月, 2006 5 次提交
  11. 11 1月, 2006 1 次提交
  12. 05 1月, 2006 1 次提交
  13. 29 10月, 2005 1 次提交