aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGanesh Mahendran <opensource.ganesh@gmail.com>2014-12-12 16:57:10 -0800
committerGreg Hackmann <ghackmann@google.com>2015-12-09 11:10:11 -0800
commit5d96176a2ab9effc90e755c938a3d001f1d11a35 (patch)
treeabd69a6afb21bb559aa2b786ae4f54d9dccc5ab5 /include
parent1432885609c50d067bbad8aa0f396784423073f6 (diff)
UPSTREAM: mm/zsmalloc: allocate exactly size of struct zs_pool
(cherry-pick from commit 181366561ac1e1a7bc3b91dbe45e7614a2f758b9) 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. Bug: 25951511 Change-Id: I5da082fa0f69a6cc11c1d7e9000d161565005763 Signed-off-by: Ganesh Mahendran <opensource.ganesh@gmail.com> Acked-by: Minchan Kim <minchan@kernel.org> Cc: Nitin Gupta <ngupta@vflare.org> Cc: Dan Streetman <ddstreet@ieee.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions