summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-gate.c
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2013-01-29 00:44:14 +0100
committerDavid S. Miller <davem@davemloft.net>2013-01-29 19:36:23 +0100
commitcd39a7890aed7433beb3188c7ad8591e260ebf10 (patch)
tree1a5de7566bbc4e1cb5f00495c664c27abc1085d4 /drivers/clk/clk-gate.c
parentnet: ks8851: convert to threaded IRQ (diff)
downloadlinux-cd39a7890aed7433beb3188c7ad8591e260ebf10.tar.xz
linux-cd39a7890aed7433beb3188c7ad8591e260ebf10.zip
net: cacheline adjust struct netns_frags for better frag performance
This small cacheline adjustment of struct netns_frags improves performance significantly for the fragmentation code. Struct members 'lru_list' and 'mem' are both hot elements, and it hurts performance, due to cacheline bouncing at every call point, when they share a cacheline. Also notice, how mem is placed together with 'high_thresh' and 'low_thresh', as they are used in the compare operations together. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/clk/clk-gate.c')
0 files changed, 0 insertions, 0 deletions