[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141201002948.GC11340@bbox>
Date: Mon, 1 Dec 2014 09:29:48 +0900
From: Minchan Kim <minchan@...nel.org>
To: Ganesh Mahendran <opensource.ganesh@...il.com>
Cc: ngupta@...are.org, ddstreet@...e.org, akpm@...ux-foundation.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH] mm/zsmalloc: allocate exactly size of struct zs_pool
On Sat, Nov 29, 2014 at 07:23:55PM +0800, Ganesh Mahendran wrote:
> In zs_create_pool(), we allocate memory more then sizeof(struct zs_pool)
> ovhd_size = roundup(sizeof(*pool), PAGE_SIZE);
>
> This patch allocate memory of exactly needed size.
>
> Signed-off-by: Ganesh Mahendran <opensource.ganesh@...il.com>
Acked-by: Minchan Kim <minchan@...nel.org>
--
Kind regards,
Minchan Kim
--
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