Re: [PATCH] zsmalloc: drop unused member 'mapping_area->huge'

From: Minchan Kim
Date: Wed Feb 17 2016 - 10:38:09 EST


On Wed, Feb 17, 2016 at 09:56:39AM +0800, YiPing Xu wrote:
> When unmapping a huge class page in zs_unmap_object, the page will
> be unmapped by kmap_atomic. the "!area->huge" branch in
> __zs_unmap_object is alway true, and no code set "area->huge" now,
> so we can drop it.
>
> Signed-off-by: YiPing Xu <xuyiping@xxxxxxxxxx>
Acked-by: Minchan Kim <minchan@xxxxxxxxxx>

Thanks.