From: Eric Dumazet Date: Thu, 3 Mar 2011 19:10:02 +0000 (-0800) Subject: net_sched: reduce fifo qdisc size X-Git-Tag: v2.6.39-rc1~468^2~172 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d276055c4e90a7278cd5167ba9755c9b214bcff7;p=pandora-kernel.git net_sched: reduce fifo qdisc size Because of various alignements [SLUB / qdisc], we use 512 bytes of memory for one {p|b}fifo qdisc, instead of 256 bytes on 64bit arches and 192 bytes on 32bit ones. Move the "u32 limit" inside "struct Qdisc" (no impact on other qdiscs) Change qdisc_alloc(), first trying a regular allocation before an oversized one. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed