lkml.org 
[lkml]   [2010]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 10/11] Direct compact when a high-order allocation fails
    From
    On Sat, Mar 13, 2010 at 1:41 AM, Mel Gorman <mel@csn.ul.ie> wrote:
    > Ordinarily when a high-order allocation fails, direct reclaim is entered to
    > free pages to satisfy the allocation.  With this patch, it is determined if
    > an allocation failed due to external fragmentation instead of low memory
    > and if so, the calling process will compact until a suitable page is
    > freed. Compaction by moving pages in memory is considerably cheaper than
    > paging out to disk and works where there are locked pages or no swap. If
    > compaction fails to free a page of a suitable size, then reclaim will
    > still occur.
    >
    > Direct compaction returns as soon as possible. As each block is compacted,
    > it is checked if a suitable page has been freed and if so, it returns.
    >
    > Signed-off-by: Mel Gorman <mel@csn.ul.ie>
    > Acked-by: Rik van Riel <riel@redhat.com>
    Reviewed-by: Minchan Kim <minchan.kim@gmail.com>

    At least, I can't find any fault more. :)

    --
    Kind regards,
    Minchan Kim
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2010-03-16 03:49    [W:0.021 / U:0.292 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site