1. 09 12月, 2009 1 次提交
  2. 03 12月, 2009 1 次提交
  3. 06 11月, 2009 1 次提交
  4. 19 10月, 2009 1 次提交
    • E
      inet: rename some inet_sock fields · c720c7e8
      Eric Dumazet 提交于
      In order to have better cache layouts of struct sock (separate zones
      for rx/tx paths), we need this preliminary patch.
      
      Goal is to transfert fields used at lookup time in the first
      read-mostly cache line (inside struct sock_common) and move sk_refcnt
      to a separate cache line (only written by rx path)
      
      This patch adds inet_ prefix to daddr, rcv_saddr, dport, num, saddr,
      sport and id fields. This allows a future patch to define these
      fields as macros, like sk_refcnt, without name clashes.
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c720c7e8
  5. 08 10月, 2009 1 次提交
  6. 15 9月, 2009 2 次提交
  7. 02 9月, 2009 1 次提交
  8. 23 6月, 2009 1 次提交
  9. 03 6月, 2009 1 次提交
  10. 26 11月, 2008 1 次提交
  11. 17 11月, 2008 1 次提交
    • E
      net: Convert TCP & DCCP hash tables to use RCU / hlist_nulls · 3ab5aee7
      Eric Dumazet 提交于
      RCU was added to UDP lookups, using a fast infrastructure :
      - sockets kmem_cache use SLAB_DESTROY_BY_RCU and dont pay the
        price of call_rcu() at freeing time.
      - hlist_nulls permits to use few memory barriers.
      
      This patch uses same infrastructure for TCP/DCCP established
      and timewait sockets.
      
      Thanks to SLAB_DESTROY_BY_RCU, no slowdown for applications
      using short lived TCP connections. A followup patch, converting
      rwlocks to spinlocks will even speedup this case.
      
      __inet_lookup_established() is pretty fast now we dont have to
      dirty a contended cache line (read_lock/read_unlock)
      
      Only established and timewait hashtable are converted to RCU
      (bind table and listen table are still using traditional locking)
      Signed-off-by: NEric Dumazet <dada1@cosmosbay.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3ab5aee7
  12. 05 11月, 2008 2 次提交
  13. 20 10月, 2008 1 次提交
  14. 09 10月, 2008 1 次提交
  15. 08 10月, 2008 1 次提交
  16. 09 9月, 2008 1 次提交
  17. 04 9月, 2008 2 次提交
  18. 26 7月, 2008 3 次提交
  19. 17 7月, 2008 2 次提交
  20. 15 6月, 2008 1 次提交
  21. 11 6月, 2008 1 次提交
  22. 18 4月, 2008 1 次提交
  23. 14 4月, 2008 6 次提交
  24. 04 4月, 2008 5 次提交
  25. 29 3月, 2008 1 次提交