• Vlastimil Babka's avatar
    mm, cma: drain single zone pcplists · 510f5507
    Vlastimil Babka authored
    CMA allocation drains pcplists so that pages can merge back to buddy
    allocator.  Since it operates on a single zone, we can reduce the
    pcplists drain to the single zone, which is now possible.
    
    The change should make CMA allocations faster and not disturbing
    unrelated pcplists anymore.
    Signed-off-by: default avatarVlastimil Babka <vbabka@suse.cz>
    Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
    Cc: Mel Gorman <mgorman@suse.de>
    Cc: Rik van Riel <riel@redhat.com>
    Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
    Cc: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
    Cc: Xishi Qiu <qiuxishi@huawei.com>
    Cc: Vladimir Davydov <vdavydov@parallels.com>
    Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
    Cc: Michal Nazarewicz <mina86@mina86.com>
    Cc: Marek Szyprowski <m.szyprowski@samsung.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    510f5507
page_alloc.c 183 KB