summaryrefslogtreecommitdiffstats
path: root/lib/nlattr.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-11-15 04:12:55 +0000
committerDavid S. Miller <davem@davemloft.net>2011-11-16 17:30:06 -0500
commit588f033075d8c7efe28695402114eab3f9da47c4 (patch)
treee057253b48041762ca0d747374521e5edf51c644 /lib/nlattr.c
parent66846048f55c6c05a4c46c2daabb773173f8f28d (diff)
downloadblackbird-op-linux-588f033075d8c7efe28695402114eab3f9da47c4.tar.gz
blackbird-op-linux-588f033075d8c7efe28695402114eab3f9da47c4.zip
net: use jump_label for netstamp_needed
netstamp_needed seems a good candidate to jump_label conversion. This avoids 3 conditional branches per incoming packet in fast path. No measurable difference, given that these conditional branches are predicted on modern cpus. Only a small icache reduction, thanks to the unlikely() stuff. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/nlattr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud