1. 21 10月, 2010 4 次提交
  2. 20 10月, 2010 6 次提交
  3. 19 10月, 2010 2 次提交
  4. 18 10月, 2010 10 次提交
  5. 17 10月, 2010 6 次提交
  6. 16 10月, 2010 1 次提交
  7. 14 10月, 2010 5 次提交
  8. 13 10月, 2010 2 次提交
    • B
      wireless: Print wiphy name in sysfs. · cfd8e12f
      Ben Greear 提交于
      The index cannot be used to reliably reconstruct a phy
      name, so explicitly add the phy name to sysfs so that scripts
      can figure out the parent phy device for a particular
      wireless interface.
      Signed-off-by: NBen Greear <greearb@candelatech.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      cfd8e12f
    • 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
  9. 12 10月, 2010 4 次提交