diff options
author | Wen Congyang <wency@cn.fujitsu.com> | 2013-02-22 16:33:16 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-23 17:50:13 -0800 |
commit | d822b86a99e8d2b7ebbe3aba099288354287a885 (patch) | |
tree | 2f2785f5fb7b55c0ed682e8bed5e3b729f9c4f5a /kernel/groups.c | |
parent | 60a5a19e7419ba0bc22ed01b3285e8940b42944c (diff) | |
download | op-kernel-dev-d822b86a99e8d2b7ebbe3aba099288354287a885.zip op-kernel-dev-d822b86a99e8d2b7ebbe3aba099288354287a885.tar.gz |
memory-hotplug: free node_data when a node is offlined
We call hotadd_new_pgdat() to allocate memory to store node_data. So we
should free it when removing a node.
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Reviewed-by: Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Jiang Liu <jiang.liu@huawei.com>
Cc: Jianguo Wu <wujianguo@huawei.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Wu Jianguo <wujianguo@huawei.com>
Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/groups.c')
0 files changed, 0 insertions, 0 deletions