1. 09 6月, 2009 1 次提交
  2. 08 6月, 2009 1 次提交
    • E
      net: skb_shared_info optimization · 042a53a9
      Eric Dumazet 提交于
      skb_dma_unmap() is quite expensive for small packets,
      because we use two different cache lines from skb_shared_info.
      
      One to access nr_frags, one to access dma_maps[0]
      
      Instead of dma_maps being an array of MAX_SKB_FRAGS + 1 elements,
      let dma_head alone in a new dma_head field, close to nr_frags,
      to reduce cache lines misses.
      
      Tested on my dev machine (bnx2 & tg3 adapters), nice speedup !
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      042a53a9
  3. 03 6月, 2009 5 次提交
  4. 29 5月, 2009 1 次提交
  5. 08 5月, 2009 1 次提交
  6. 22 4月, 2009 1 次提交
  7. 20 4月, 2009 1 次提交
  8. 17 4月, 2009 1 次提交
  9. 16 4月, 2009 1 次提交
  10. 15 4月, 2009 1 次提交
  11. 07 4月, 2009 2 次提交
  12. 26 3月, 2009 3 次提交
  13. 25 3月, 2009 1 次提交
  14. 21 3月, 2009 1 次提交
  15. 20 3月, 2009 3 次提交
  16. 03 3月, 2009 1 次提交
  17. 19 2月, 2009 1 次提交
  18. 11 2月, 2009 2 次提交
  19. 01 2月, 2009 1 次提交
  20. 23 1月, 2009 1 次提交
  21. 22 1月, 2009 2 次提交
  22. 08 1月, 2009 1 次提交
    • A
      resource: allow MMIO exclusivity for device drivers · e8de1481
      Arjan van de Ven 提交于
      Device drivers that use pci_request_regions() (and similar APIs) have a
      reasonable expectation that they are the only ones accessing their device.
      As part of the e1000e hunt, we were afraid that some userland (X or some
      bootsplash stuff) was mapping the MMIO region that the driver thought it
      had exclusively via /dev/mem or via various sysfs resource mappings.
      
      This patch adds the option for device drivers to cause their reserved
      regions to the "banned from /dev/mem use" list, so now both kernel memory
      and device-exclusive MMIO regions are banned.
      NOTE: This is only active when CONFIG_STRICT_DEVMEM is set.
      
      In addition to the config option, a kernel parameter iomem=relaxed is
      provided for the cases where developers want to diagnose, in the field,
      drivers issues from userspace.
      Reviewed-by: NMatthew Wilcox <willy@linux.intel.com>
      Signed-off-by: NArjan van de Ven <arjan@linux.intel.com>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      e8de1481
  23. 23 12月, 2008 1 次提交
  24. 16 12月, 2008 1 次提交
  25. 06 12月, 2008 1 次提交
  26. 24 11月, 2008 1 次提交
  27. 22 11月, 2008 3 次提交