]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitb30973f877fea1a3fb84e05599890fcc082a88e5
tree198f7c31d5945288c1195348ac4e521ba90d81d6
parent873481367edb18a7d0d7e5a285e6728c16bb44a9
[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