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

From: Joonsoo Kim
Date: Thu Jan 22 2015 - 20:22:51 EST


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 reduce the zone types. Do we need slab allocator etc
> allocations in that zone? This will multiply the management structures in
> various subsystems.

Hello,

Pages in CMA area should be movable so slab allocator which uses
unmovable/reclaimable allocation wouldn't need to consider that zone.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/