Skip to content
  • Mel Gorman's avatar
    Group high-order atomic allocations · e010487d
    Mel Gorman authored
    
    
    In rare cases, the kernel needs to allocate a high-order block of pages
    without sleeping.  For example, this is the case with e1000 cards configured
    to use jumbo frames.  Migrating or reclaiming pages in this situation is not
    an option.
    
    This patch groups these allocations together as much as possible by adding a
    new MIGRATE_TYPE.  The MIGRATE_HIGHATOMIC type are exactly what they sound
    like.  Care is taken that pages of other migrate types do not use the same
    blocks as high-order atomic allocations.
    
    Signed-off-by: default avatarMel Gorman <mel@csn.ul.ie>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    e010487d