1. 20 4月, 2011 1 次提交
  2. 31 3月, 2011 1 次提交
  3. 25 3月, 2011 1 次提交
  4. 18 3月, 2011 1 次提交
  5. 13 3月, 2011 1 次提交
  6. 03 3月, 2011 1 次提交
  7. 14 2月, 2011 1 次提交
  8. 04 2月, 2011 1 次提交
  9. 17 1月, 2011 4 次提交
  10. 11 1月, 2011 1 次提交
  11. 13 10月, 2010 1 次提交
    • E
      net: percpu net_device refcount · 29b4433d
      Eric Dumazet 提交于
      We tried very hard to remove all possible dev_hold()/dev_put() pairs in
      network stack, using RCU conversions.
      
      There is still an unavoidable device refcount change for every dst we
      create/destroy, and this can slow down some workloads (routers or some
      app servers, mmap af_packet)
      
      We can switch to a percpu refcount implementation, now dynamic per_cpu
      infrastructure is mature. On a 64 cpus machine, this consumes 256 bytes
      per device.
      
      On x86, dev_hold(dev) code :
      
      before
              lock    incl 0x280(%ebx)
      after:
              movl    0x260(%ebx),%eax
              incl    fs:(%eax)
      
      Stress bench :
      
      (Sending 160.000.000 UDP frames,
      IP route cache disabled, dual E5540 @2.53GHz,
      32bit kernel, FIB_TRIE)
      
      Before:
      
      real    1m1.662s
      user    0m14.373s
      sys     12m55.960s
      
      After:
      
      real    0m51.179s
      user    0m15.329s
      sys     10m15.942s
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      29b4433d
  12. 07 10月, 2010 2 次提交
  13. 29 9月, 2010 1 次提交
  14. 28 9月, 2010 1 次提交
    • R
      RDMA/nes: Fix cast-to-pointer warnings on 32-bit · 183ae74b
      Roland Dreier 提交于
      Fix:
      
        drivers/infiniband/hw/nes/nes_verbs.c: In function 'nes_alloc_fast_reg_page_list':
        drivers/infiniband/hw/nes/nes_verbs.c:477: warning: cast to pointer from integer of different size
        drivers/infiniband/hw/nes/nes_verbs.c: In function 'nes_post_send':
        drivers/infiniband/hw/nes/nes_verbs.c:3486: warning: cast to pointer from integer of different size
        drivers/infiniband/hw/nes/nes_verbs.c:3486: warning: cast to pointer from integer of different size
      
      by printing u64 quantities by casting to unsigned long and long and
      using %llx, rather than casting to void* and using %p.
      Reported-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      183ae74b
  15. 09 9月, 2010 4 次提交
  16. 06 8月, 2010 1 次提交
  17. 05 8月, 2010 5 次提交
  18. 29 7月, 2010 3 次提交
  19. 15 7月, 2010 1 次提交
  20. 05 7月, 2010 1 次提交
  21. 11 6月, 2010 1 次提交
  22. 26 5月, 2010 1 次提交
  23. 25 5月, 2010 2 次提交
  24. 22 5月, 2010 1 次提交
    • R
      IB/core: Allow device-specific per-port sysfs files · 9a6edb60
      Ralph Campbell 提交于
      Add a new parameter to ib_register_device() so that low-level device
      drivers can pass in a pointer to a callback function that will be
      called for each port that is registered in sysfs.  This allows
      low-level device drivers to create files in
      
          /sys/class/infiniband/<hca>/ports/<N>/
      
      without having to poke through the internals of the RDMA sysfs handling.
      
      There is no need for an unregister function since the kobject
      reference will go to zero when ib_unregister_device() is called.
      Signed-off-by: NRalph Campbell <ralph.campbell@qlogic.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      9a6edb60
  25. 22 4月, 2010 2 次提交