Ganesh Mahendran
181366561a
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 <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>
2014-12-13 12:42:50 -08:00
..
2014-10-18 11:53:51 -07:00
2014-10-29 16:33:15 -07:00
2014-11-13 16:17:06 -08:00
2014-12-13 12:42:46 -08:00
2014-12-10 17:41:06 -08:00
2014-12-13 12:42:48 -08:00
2014-12-10 17:41:09 -08:00
2014-10-09 22:26:00 -04:00
2014-12-13 12:42:49 -08:00
2014-12-13 12:42:45 -08:00
2014-12-13 12:42:45 -08:00
2014-12-13 12:42:45 -08:00
2014-12-10 17:41:08 -08:00
2014-11-14 17:24:21 +11:00
2014-08-06 18:01:22 -07:00
2014-12-11 17:30:55 -08:00
2014-12-10 17:41:04 -08:00
2014-12-13 12:42:47 -08:00
2014-08-06 18:01:19 -07:00
2014-12-10 17:41:06 -08:00
2014-10-09 22:25:57 -04:00
2014-12-08 20:25:23 -05:00
2014-10-09 22:26:01 -04:00
2014-12-13 12:42:48 -08:00
2014-10-09 22:25:50 -04:00
2014-06-06 16:08:18 -07:00
2014-06-06 16:08:17 -07:00
2014-10-09 22:26:00 -04:00
2014-08-06 18:01:18 -07:00
2014-12-13 12:42:48 -08:00
2014-12-13 12:42:46 -08:00
2014-12-13 12:42:49 -08:00
2014-12-10 17:41:05 -08:00
2014-12-13 12:42:48 -08:00
2014-12-13 12:42:47 -08:00
2014-10-09 22:26:02 -04:00
2014-06-06 16:08:17 -07:00
2014-12-13 12:42:49 -08:00
2014-12-13 12:42:46 -08:00
2014-10-13 15:44:12 +02:00
2014-12-13 12:42:47 -08:00
2014-09-24 14:07:58 +02:00
2014-10-14 02:18:28 +02:00
2014-12-13 12:42:45 -08:00
2014-07-03 09:21:53 -07:00
2014-11-13 16:17:06 -08:00
2014-12-13 12:42:48 -08:00
2014-12-13 12:42:49 -08:00
2014-12-13 12:42:49 -08:00
2014-12-10 17:41:05 -08:00
2014-12-13 12:42:48 -08:00
2014-06-14 19:30:48 -05:00
2014-12-10 17:41:05 -08:00
2014-12-13 12:42:48 -08:00
2014-12-10 17:41:08 -08:00
2014-10-09 22:25:58 -04:00
2014-09-02 14:46:05 -04:00
2014-09-02 14:46:02 -04:00
2014-10-29 10:34:34 -04:00
2014-08-29 16:28:15 -07:00
2014-08-06 18:01:15 -07:00
2014-12-13 12:42:46 -08:00
2014-10-24 00:14:37 +02:00
2014-12-10 17:41:07 -08:00
2014-12-13 12:42:49 -08:00
2014-12-10 17:41:07 -08:00
2014-10-09 22:25:50 -04:00
2014-12-13 12:42:49 -08:00
2014-12-10 17:41:09 -08:00
2014-12-10 17:41:09 -08:00
2014-10-09 22:25:59 -04:00
2014-12-10 17:41:09 -08:00
2014-11-07 08:29:25 +11:00
2014-10-09 22:25:50 -04:00
2014-12-13 12:42:48 -08:00
2014-12-13 12:42:49 -08:00
2014-12-02 17:32:07 -08:00
2014-12-13 12:42:48 -08:00
2014-12-13 12:42:48 -08:00
2014-11-20 14:42:02 +01:00
2014-08-29 16:28:16 -07:00
2014-12-13 12:42:50 -08:00
2014-11-20 14:42:02 +01:00