From: Eric Dumazet Date: Mon, 29 Nov 2010 08:14:37 +0000 (+0000) Subject: net sched: use xps information for qdisc NUMA affinity X-Git-Tag: v2.6.38-rc1~476^2~384 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2cd2d3e9b3ef960612e362f0ad129d735452df2;p=pandora-kernel.git net sched: use xps information for qdisc NUMA affinity Allocate qdisc memory according to NUMA properties of cpus included in xps map. To be effective, qdisc should be (re)setup after changes of /sys/class/net/eth/queues/tx-/xps_cpus I added a numa_node field in struct netdev_queue, containing NUMA node if all cpus included in xps_cpus share same node, else -1. Signed-off-by: Eric Dumazet Cc: Ben Hutchings Cc: Tom Herbert Signed-off-by: David S. Miller --- Reading git-diff-tree failed