From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f170.google.com (mail-we0-f170.google.com [74.125.82.170]) by kanga.kvack.org (Postfix) with ESMTP id C86F96B0031 for ; Thu, 9 Jan 2014 09:05:05 -0500 (EST) Received: by mail-we0-f170.google.com with SMTP id u57so2588736wes.29 for ; Thu, 09 Jan 2014 06:05:05 -0800 (PST) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [2a00:1450:400c:c00::22c]) by mx.google.com with ESMTPS id kc5si1382092wjc.145.2014.01.09.06.05.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Jan 2014 06:05:04 -0800 (PST) Received: by mail-wg0-f44.google.com with SMTP id l18so1862586wgh.23 for ; Thu, 09 Jan 2014 06:05:04 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <1389251087-10224-1-git-send-email-iamjoonsoo.kim@lge.com> Date: Thu, 9 Jan 2014 23:05:04 +0900 Message-ID: Subject: Re: [PATCH 0/7] improve robustness on handling migratetype From: Joonsoo Kim Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Michal Nazarewicz Cc: Joonsoo Kim , Andrew Morton , "Kirill A. Shutemov" , Rik van Riel , Jiang Liu , Mel Gorman , Cody P Schafer , Johannes Weiner , Michal Hocko , Minchan Kim , Andi Kleen , Wei Yongjun , Tang Chen , Linux Memory Management List , LKML 2014/1/9 Michal Nazarewicz : > On Thu, Jan 09 2014, Joonsoo Kim wrote: >> Third, there is the problem on buddy allocator. It doesn't consider >> migratetype when merging buddy, so pages from cma or isolate region can >> be moved to other migratetype freelist. It makes CMA failed over and over. >> To prevent it, the buddy allocator should consider migratetype if >> CMA/ISOLATE is enabled. > > There should never be situation where a CMA page shares a pageblock (or > a max-order page) with a non-CMA page though, so this should never be an > issue. Right... It never happens. When I ported CMA region reservation code to my own code for testing, I made a mistake. Sorry for noise. Thanks. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org