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@xxxxxxxxx> Acked-by: Minchan Kim <minchan@xxxxxxxxxx> -- Kind regards, Minchan Kim -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>