diff options
author | Ganesh Mahendran <[email protected]> | 2014-12-12 16:57:10 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-12-13 12:42:50 -0800 |
commit | 181366561ac1e1a7bc3b91dbe45e7614a2f758b9 (patch) | |
tree | 559d989501ca9e8735518a5ae6b7267ea24a5df3 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | df8b5bb998f10cfc040ad30300f9a9ea4592ff82 (diff) |
mm/zsmalloc: allocate exactly size of struct zs_pool
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 <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Cc: Nitin Gupta <[email protected]>
Cc: Dan Streetman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions