From: Eric Dumazet Date: Thu, 13 Jun 2013 14:58:30 +0000 (-0700) Subject: htb: reorder struct htb_class fields for performance X-Git-Tag: v3.11-rc1~16^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca4ec90b31d1ecf01087c607933cf792057bc8bf;p=pandora-kernel.git htb: reorder struct htb_class fields for performance htb_class structures are big, and source of false sharing on SMP. By carefully splitting them in two parts, we can improve performance. I got 9 % performance increase on a 24 threads machine, with 200 concurrent netperf in TCP_RR mode, using a HTB hierarchy of 4 classes. Signed-off-by: Eric Dumazet Cc: Tom Herbert Signed-off-by: David S. Miller --- Reading git-diff-tree failed