1. 17 9月, 2012 1 次提交
  2. 21 8月, 2012 1 次提交
  3. 09 8月, 2012 1 次提交
  4. 01 8月, 2012 1 次提交
    • M
      netvm: propagate page->pfmemalloc from skb_alloc_page to skb · 0614002b
      Mel Gorman 提交于
      The skb->pfmemalloc flag gets set to true iff during the slab allocation
      of data in __alloc_skb that the the PFMEMALLOC reserves were used.  If
      page splitting is used, it is possible that pages will be allocated from
      the PFMEMALLOC reserve without propagating this information to the skb.
      This patch propagates page->pfmemalloc from pages allocated for fragments
      to the skb.
      
      It works by reintroducing and expanding the skb_alloc_page() API to take
      an skb.  If the page was allocated from pfmemalloc reserves, it is
      automatically copied.  If the driver allocates the page before the skb, it
      should call skb_propagate_pfmemalloc() after the skb is allocated to
      ensure the flag is copied properly.
      
      Failure to do so is not critical.  The resulting driver may perform slower
      if it is used for swap-over-NBD or swap-over-NFS but it should not result
      in failure.
      
      [davem@davemloft.net: API rename and consistency]
      Signed-off-by: NMel Gorman <mgorman@suse.de>
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      Cc: Neil Brown <neilb@suse.de>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Mike Christie <michaelc@cs.wisc.edu>
      Cc: Eric B Munson <emunson@mgebm.net>
      Cc: Eric Dumazet <eric.dumazet@gmail.com>
      Cc: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
      Cc: Mel Gorman <mgorman@suse.de>
      Cc: Christoph Lameter <cl@linux.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0614002b
  5. 22 7月, 2012 1 次提交
  6. 17 7月, 2012 1 次提交
  7. 11 7月, 2012 1 次提交
  8. 20 6月, 2012 4 次提交
  9. 17 5月, 2012 1 次提交
  10. 13 5月, 2012 1 次提交
  11. 11 5月, 2012 1 次提交
  12. 04 5月, 2012 1 次提交
  13. 27 4月, 2012 1 次提交
  14. 14 4月, 2012 1 次提交
  15. 04 4月, 2012 1 次提交
  16. 28 3月, 2012 1 次提交
  17. 17 3月, 2012 2 次提交
  18. 13 3月, 2012 1 次提交
  19. 10 2月, 2012 1 次提交
  20. 09 2月, 2012 1 次提交
  21. 20 1月, 2012 2 次提交
  22. 06 1月, 2012 3 次提交
  23. 09 12月, 2011 1 次提交
  24. 05 12月, 2011 1 次提交
  25. 23 11月, 2011 1 次提交
    • E
      net: remove netdev_alloc_page and use __GFP_COLD · 1f2149c1
      Eric Dumazet 提交于
      Given we dont use anymore the struct net_device *dev argument, and this
      interface brings litle benefit, remove netdev_{alloc|free}_page(), to
      debloat include/linux/skbuff.h a bit.
      
      (Some drivers used a mix of these interfaces and alloc_pages())
      
      When allocating a page given to device for DMA transfer (device to
      memory), it makes sense to use a cold one (__GFP_COLD)
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      CC: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
      CC: Dimitris Michailidis <dm@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1f2149c1
  26. 17 11月, 2011 1 次提交
  27. 16 11月, 2011 1 次提交
    • J
      igb: Convert printks to pr_<level> · 876d2d6f
      Jeff Kirsher 提交于
      Based on original patch from Joe Perches <joe@perches.com>
      
      Use the current logging styles.
      
      pr_<level> conversions are now prefixed with "igb: "
      
      Correct a defect where the trailing NTU may have been printed
      on a separate line because of an interleaving hex_dump.
      
      Remove unnecessary uses of KERN_CONT and use single pr_info()s
      to avoid any possible output interleaving from other modules.
      
      Coalesce formats as appropriate.
      
      -v2 fix-up to make checkpatch.pl compliant and remove change to
          the copyright line
      
      CC: Joe Perches <joe@perches.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Tested-by: NAaron Brown <aaron.f.brown@intel.com>
      876d2d6f
  28. 21 10月, 2011 3 次提交
  29. 19 10月, 2011 1 次提交
  30. 17 10月, 2011 2 次提交