[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANFwon3U+chGmvLG_HdMf5_0Mb5OEEJSOUr+oPB5+US3rnfguA@mail.gmail.com>
Date: Tue, 30 Dec 2014 18:02:09 +0800
From: Hui Zhu <teawater@...il.com>
To: Joonsoo Kim <iamjoonsoo.kim@....com>
Cc: Hui Zhu <zhuhui@...omi.com>, m.szyprowski@...sung.com,
mina86@...a86.com, Andrew Morton <akpm@...ux-foundation.org>,
aneesh.kumar@...ux.vnet.ibm.com, pintu.k@...sung.com,
weijie.yang@...sung.com, mgorman@...e.de, hannes@...xchg.org,
Rik van Riel <riel@...hat.com>, vbabka@...e.cz,
laurent.pinchart+renesas@...asonboard.com, rientjes@...gle.com,
sasha.levin@...cle.com, liuweixing@...omi.com,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
linux-mm@...ck.org
Subject: Re: [PATCH 1/3] CMA: Fix the bug that CMA's page number is
substructed twice
On Tue, Dec 30, 2014 at 12:48 PM, Joonsoo Kim <iamjoonsoo.kim@....com> wrote:
> On Thu, Dec 25, 2014 at 05:43:26PM +0800, Hui Zhu wrote:
>> In Joonsoo's CMA patch "CMA: always treat free cma pages as non-free on
>> watermark checking" [1], it changes __zone_watermark_ok to substruct CMA
>> pages number from free_pages if system use CMA:
>> if (IS_ENABLED(CONFIG_CMA) && z->managed_cma_pages)
>> free_pages -= zone_page_state(z, NR_FREE_CMA_PAGES);
>
> Hello,
>
> In fact, without that patch, watermark checking has a problem in current kernel.
> If there is reserved CMA region, watermark check for high order
> allocation is done loosly. See following thread.
>
> https://lkml.org/lkml/2014/5/30/320
>
> Your patch can fix this situation, so, how about submitting this patch
> separately?
>
> Thanks.
>
Hi Joonsoo,
Thanks for your remind. I will post a separate patch for current kernel.
Thanks,
Hui
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists