1. 16 4月, 2011 1 次提交
  2. 23 3月, 2011 1 次提交
  3. 13 3月, 2011 1 次提交
  4. 20 12月, 2010 1 次提交
  5. 03 12月, 2010 2 次提交
  6. 01 12月, 2010 1 次提交
  7. 13 4月, 2010 1 次提交
    • E
      net: sk_dst_cache RCUification · b6c6712a
      Eric Dumazet 提交于
      With latest CONFIG_PROVE_RCU stuff, I felt more comfortable to make this
      work.
      
      sk->sk_dst_cache is currently protected by a rwlock (sk_dst_lock)
      
      This rwlock is readlocked for a very small amount of time, and dst
      entries are already freed after RCU grace period. This calls for RCU
      again :)
      
      This patch converts sk_dst_lock to a spinlock, and use RCU for readers.
      
      __sk_dst_get() is supposed to be called with rcu_read_lock() or if
      socket locked by user, so use appropriate rcu_dereference_check()
      condition (rcu_read_lock_held() || sock_owned_by_user(sk))
      
      This patch avoids two atomic ops per tx packet on UDP connected sockets,
      for example, and permits sk_dst_lock to be much less dirtied.
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b6c6712a
  8. 08 3月, 2010 1 次提交
  9. 04 11月, 2009 1 次提交
  10. 03 6月, 2009 1 次提交
  11. 15 8月, 2008 1 次提交
  12. 13 8月, 2008 2 次提交
  13. 23 7月, 2008 1 次提交
  14. 12 4月, 2008 1 次提交
    • Y
      [IPV6]: Make address arguments const. · 9acd9f3a
      YOSHIFUJI Hideaki 提交于
      - net/ipv6/addrconf.c:
      	ipv6_get_ifaddr(), ipv6_dev_get_saddr()
      - net/ipv6/mcast.c:
      	ipv6_sock_mc_join(), ipv6_sock_mc_drop(),
      	inet6_mc_check(),
      	ipv6_dev_mc_inc(), __ipv6_dev_mc_dec(), ipv6_dev_mc_dec(),
      	ipv6_chk_mcast_addr()
      - net/ipv6/route.c:
      	rt6_lookup(), icmp6_dst_alloc()
      - net/ipv6/ip6_output.c:
      	ip6_nd_hdr()
      - net/ipv6/ndisc.c:
      	ndisc_send_ns(), ndisc_send_rs(), ndisc_send_redirect(),
      	ndisc_get_neigh(), __ndisc_send()
      Signed-off-by: NYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
      9acd9f3a
  15. 10 4月, 2008 1 次提交
  16. 25 3月, 2008 2 次提交
  17. 06 3月, 2008 1 次提交
  18. 05 3月, 2008 4 次提交
  19. 04 3月, 2008 3 次提交
  20. 08 2月, 2008 1 次提交
  21. 29 1月, 2008 2 次提交
  22. 26 4月, 2007 1 次提交
  23. 03 12月, 2006 1 次提交
  24. 19 10月, 2006 1 次提交
  25. 23 9月, 2006 7 次提交