lkml.org 
[lkml]   [2012]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 3/6] mm: compaction: Acquire the zone->lock as late as possible
    On 09/20/2012 10:04 AM, Mel Gorman wrote:
    > Compactions free scanner acquires the zone->lock when checking for PageBuddy
    > pages and isolating them. It does this even if there are no PageBuddy pages
    > in the range.
    >
    > This patch defers acquiring the zone lock for as long as possible. In the
    > event there are no free pages in the pageblock then the lock will not be
    > acquired at all which reduces contention on zone->lock.
    >
    > Signed-off-by: Mel Gorman <mgorman@suse.de>

    Acked-by: Rik van Riel <riel@redhat.com>



    \
     
     \ /
      Last update: 2012-09-20 22:41    [W:4.054 / U:0.332 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site