aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authordingtianhong <[email protected]>2014-03-07 18:45:30 +0800
committerDavid S. Miller <[email protected]>2014-03-09 19:03:51 -0400
commit375f67df2811aafbb68f5d4f3bd27396023b36dd (patch)
tree8fe865bafa30f6302f4d6a3e9f81aaaaba35a933 /lib/dynamic_debug.c
parent2d8d40afd187bced0a3d056366fb58d66fe845e3 (diff)
vlan: slight optimization for vlan_do_receive()
According Joe's suggestion, maybe it'd be faster to add an unlikely to the test for PCKET_OTHERHOST, so I add it and see whether the performance could be better, although the differences is so small and negligible, but it is hard to catch that any lower device would set the skb type to PACKET_OTHERHOST, so most of time, I think it make sense to add unlikely for the test. Cc: Joe Perches <[email protected]> Cc: Patrick McHardy <[email protected]> Cc: David S. Miller <[email protected]> Signed-off-by: Ding Tianhong <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions