1
0
Files
linux/include/linux
Jiang Liu 340175b7d1 mm/hotplug: free zone->pageset when a zone becomes empty
When a zone becomes empty after memory offlining, free zone->pageset.
Otherwise it will cause memory leak when adding memory to the empty zone
again because build_all_zonelists() will allocate zone->pageset for an
empty zone.

Signed-off-by: Jiang Liu <liuj97@gmail.com>
Signed-off-by: Wei Wang <Bessel.Wang@huawei.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Keping Chen <chenkeping@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-07-31 18:42:44 -07:00
..
2012-07-17 15:11:37 -04:00
2012-07-17 19:35:59 -07:00
2012-06-06 15:20:22 -04:00
2012-07-16 15:12:15 -04:00
2012-07-30 17:25:21 -07:00
2012-06-29 11:38:17 -04:00
2012-07-31 18:42:43 -07:00
2012-06-06 19:12:30 -07:00
2012-07-30 17:25:11 -07:00
2012-06-27 15:42:24 -07:00
2012-07-22 23:57:58 +04:00
2012-07-05 15:04:10 +02:00
2012-07-02 15:11:12 +02:00
2012-07-20 11:07:00 -07:00
2012-07-18 08:59:58 -07:00
2012-07-31 18:42:43 -07:00
2012-07-14 16:35:40 +04:00
2012-07-09 16:42:24 -04:00
2012-07-10 10:32:06 -05:00
2012-07-31 18:42:43 -07:00
2012-06-20 14:39:36 -07:00
2012-07-12 07:54:46 -07:00
2012-06-15 12:56:57 +02:00
2012-07-31 18:42:43 -07:00
2012-07-30 17:25:20 -07:00
2012-07-22 12:39:33 -07:00
2012-07-02 13:40:06 +03:00
2012-06-05 17:32:30 +02:00
2012-07-16 22:31:34 -07:00
2012-06-13 21:16:42 +02:00
2012-07-30 17:25:16 -07:00
2012-07-31 18:42:43 -07:00
2012-07-23 00:58:46 -07:00
2012-07-24 23:19:26 -04:00
2012-07-22 23:57:55 +04:00
2012-06-18 13:42:03 +02:00
2012-07-06 20:17:46 -03:00