]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] node-aware skb allocation
authorChristoph Hellwig <hch@lst.de>
Thu, 7 Dec 2006 04:32:36 +0000 (20:32 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:22 +0000 (08:39 -0800)
commit437ca3f0f86960096ca6fe9ebba75a9fef073b79
tree198f7c31d5945288c1195348ac4e521ba90d81d6
parent3d0d58efdb831400c804be6d5ca9c64302ac0f70
[PATCH] node-aware skb allocation

Node-aware allocation of skbs for the receive path.

Details:

  - __alloc_skb gets a new node argument and cals the node-aware
    slab functions with it.
  - netdev_alloc_skb passed the node number it gets from dev_to_node
    to it, everyone else passes -1 (any node)

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Christoph Lameter <clameter@engr.sgi.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/skbuff.h
net/core/skbuff.c