]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
memcg: convert to use zone_to_nid() from bare zone->zone_pgdat->node_id
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Wed, 11 Aug 2010 01:03:06 +0000 (18:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Aug 2010 15:59:19 +0000 (08:59 -0700)
commit13d7e3a2dba6a79589ed34dc0b9114d7b5ff9eab
treeb22db0b9ab3af864c7517ca38887048423194e41
parent00918b6ab89df8984ca06397cb77994dabd73f9b
memcg: convert to use zone_to_nid() from bare zone->zone_pgdat->node_id

We have zone_to_nid().  this patch convert all existing users of
zone->zone_pgdat->node_id.

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Nishimura Daisuke <d-nishimura@mtf.biglobe.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c