Re: [PATCH] CMA: treat free cma pages as non-free if not ALLOC_CMA on watermark checking

2015-01-22 Thread Joonsoo Kim
On Thu, Jan 22, 2015 at 10:12:43AM -0600, Christoph Lameter wrote: > On Thu, 22 Jan 2015, Joonsoo Kim wrote: > > > > Just out of curiosity, "new zone"? Something like movable zone? > > > > Yes, I named it as ZONE_CMA. Maybe I can send prototype of > > implementation within 1 or 2 weeks. > >

Re: [PATCH] CMA: treat free cma pages as non-free if not ALLOC_CMA on watermark checking

2015-01-22 Thread Christoph Lameter
On Thu, 22 Jan 2015, Joonsoo Kim wrote: > > Just out of curiosity, "new zone"? Something like movable zone? > > Yes, I named it as ZONE_CMA. Maybe I can send prototype of > implementation within 1 or 2 weeks. Ugghh. I'd rather reduce the zone types. Do we need slab allocator etc allocations in

Re: [PATCH] CMA: treat free cma pages as non-free if not ALLOC_CMA on watermark checking

2015-01-22 Thread Christoph Lameter
On Thu, 22 Jan 2015, Joonsoo Kim wrote: Just out of curiosity, new zone? Something like movable zone? Yes, I named it as ZONE_CMA. Maybe I can send prototype of implementation within 1 or 2 weeks. Ugghh. I'd rather reduce the zone types. Do we need slab allocator etc allocations in that

Re: [PATCH] CMA: treat free cma pages as non-free if not ALLOC_CMA on watermark checking

2015-01-22 Thread Joonsoo Kim
On Thu, Jan 22, 2015 at 10:12:43AM -0600, Christoph Lameter wrote: On Thu, 22 Jan 2015, Joonsoo Kim wrote: Just out of curiosity, new zone? Something like movable zone? Yes, I named it as ZONE_CMA. Maybe I can send prototype of implementation within 1 or 2 weeks. Ugghh. I'd rather

Re: [PATCH] CMA: treat free cma pages as non-free if not ALLOC_CMA on watermark checking

2015-01-21 Thread Joonsoo Kim
On Tue, Jan 20, 2015 at 11:33:27PM +0800, Zhang Yanfei wrote: > Hello Minchan, > > How are you? > > 在 2015/1/19 14:55, Minchan Kim 写道: > > Hello, > > > > On Sun, Jan 18, 2015 at 04:32:59PM +0800, Hui Zhu wrote: > >> From: Hui Zhu > >> > >> The original of this patch [1] is part of Joonsoo's

Re: [PATCH] CMA: treat free cma pages as non-free if not ALLOC_CMA on watermark checking

2015-01-21 Thread Joonsoo Kim
On Tue, Jan 20, 2015 at 11:33:27PM +0800, Zhang Yanfei wrote: Hello Minchan, How are you? 在 2015/1/19 14:55, Minchan Kim 写道: Hello, On Sun, Jan 18, 2015 at 04:32:59PM +0800, Hui Zhu wrote: From: Hui Zhu zhu...@xiaomi.com The original of this patch [1] is part of Joonsoo's CMA

Re: [PATCH] CMA: treat free cma pages as non-free if not ALLOC_CMA on watermark checking

2015-01-20 Thread Zhang Yanfei
Hello Minchan, How are you? 在 2015/1/19 14:55, Minchan Kim 写道: > Hello, > > On Sun, Jan 18, 2015 at 04:32:59PM +0800, Hui Zhu wrote: >> From: Hui Zhu >> >> The original of this patch [1] is part of Joonsoo's CMA patch series. >> I made a patch [2] to fix the issue of this patch. Joonsoo

Re: [PATCH] CMA: treat free cma pages as non-free if not ALLOC_CMA on watermark checking

2015-01-20 Thread Zhang Yanfei
Hello Minchan, How are you? 在 2015/1/19 14:55, Minchan Kim 写道: Hello, On Sun, Jan 18, 2015 at 04:32:59PM +0800, Hui Zhu wrote: From: Hui Zhu zhu...@xiaomi.com The original of this patch [1] is part of Joonsoo's CMA patch series. I made a patch [2] to fix the issue of this patch. Joonsoo

Re: [PATCH] CMA: treat free cma pages as non-free if not ALLOC_CMA on watermark checking

2015-01-18 Thread Hui Zhu
On Mon, Jan 19, 2015 at 2:55 PM, Minchan Kim wrote: > Hello, > > On Sun, Jan 18, 2015 at 04:32:59PM +0800, Hui Zhu wrote: >> From: Hui Zhu >> >> The original of this patch [1] is part of Joonsoo's CMA patch series. >> I made a patch [2] to fix the issue of this patch. Joonsoo reminded me >>

Re: [PATCH] CMA: treat free cma pages as non-free if not ALLOC_CMA on watermark checking

2015-01-18 Thread Minchan Kim
Hello, On Sun, Jan 18, 2015 at 04:32:59PM +0800, Hui Zhu wrote: > From: Hui Zhu > > The original of this patch [1] is part of Joonsoo's CMA patch series. > I made a patch [2] to fix the issue of this patch. Joonsoo reminded me > that this issue affect current kernel too. So made a new one for

[PATCH] CMA: treat free cma pages as non-free if not ALLOC_CMA on watermark checking

2015-01-18 Thread Hui Zhu
From: Hui Zhu The original of this patch [1] is part of Joonsoo's CMA patch series. I made a patch [2] to fix the issue of this patch. Joonsoo reminded me that this issue affect current kernel too. So made a new one for upstream. Current code treat free cma pages as non-free if not ALLOC_CMA

Re: [PATCH] CMA: treat free cma pages as non-free if not ALLOC_CMA on watermark checking

2015-01-18 Thread Minchan Kim
Hello, On Sun, Jan 18, 2015 at 04:32:59PM +0800, Hui Zhu wrote: From: Hui Zhu zhu...@xiaomi.com The original of this patch [1] is part of Joonsoo's CMA patch series. I made a patch [2] to fix the issue of this patch. Joonsoo reminded me that this issue affect current kernel too. So made a

Re: [PATCH] CMA: treat free cma pages as non-free if not ALLOC_CMA on watermark checking

2015-01-18 Thread Hui Zhu
On Mon, Jan 19, 2015 at 2:55 PM, Minchan Kim minc...@kernel.org wrote: Hello, On Sun, Jan 18, 2015 at 04:32:59PM +0800, Hui Zhu wrote: From: Hui Zhu zhu...@xiaomi.com The original of this patch [1] is part of Joonsoo's CMA patch series. I made a patch [2] to fix the issue of this patch.

[PATCH] CMA: treat free cma pages as non-free if not ALLOC_CMA on watermark checking

2015-01-18 Thread Hui Zhu
From: Hui Zhu zhu...@xiaomi.com The original of this patch [1] is part of Joonsoo's CMA patch series. I made a patch [2] to fix the issue of this patch. Joonsoo reminded me that this issue affect current kernel too. So made a new one for upstream. Current code treat free cma pages as non-free