[NET]: Convert hh_lock to seqlock.
The hard header cache is in the main output path, so using seqlock instead of reader/writer lock should reduce overhead. Signed-off-by:Stephen Hemminger <shemminger@osdl.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/linux/netdevice.h 1 addition, 1 deletioninclude/linux/netdevice.h
- include/net/neighbour.h 18 additions, 0 deletionsinclude/net/neighbour.h
- net/core/neighbour.c 6 additions, 5 deletionsnet/core/neighbour.c
- net/ipv4/ip_output.c 3 additions, 11 deletionsnet/ipv4/ip_output.c
- net/ipv6/ip6_output.c 4 additions, 13 deletionsnet/ipv6/ip6_output.c
Loading
Please register or sign in to comment