KAMEZAWA Hiroyuki 072c56c13e per-zone and reclaim enhancements for memory controller: per-zone-lock for cgroup
Now, lru is per-zone.

Then, lru_lock can be (should be) per-zone, too.
This patch implementes per-zone lru lock.

lru_lock is placed into mem_cgroup_per_zone struct.

lock can be accessed by
   mz = mem_cgroup_zoneinfo(mem_cgroup, node, zone);
   &mz->lru_lock

   or
   mz = page_cgroup_zoneinfo(page_cgroup);
   &mz->lru_lock

Signed-off-by: KAMEZAWA hiroyuki <kmaezawa.hiroyu@jp.fujitsu.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Herbert Poetzl <herbert@13thfloor.at>
Cc: Kirill Korotaev <dev@sw.ru>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Paul Menage <menage@google.com>
Cc: Pavel Emelianov <xemul@openvz.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-07 08:42:22 -08:00
..
2008-02-07 08:42:19 -08:00
2008-02-05 09:44:18 -08:00
2008-02-05 09:44:19 -08:00
2008-02-05 09:44:19 -08:00
2008-02-07 08:42:18 -08:00
2007-10-20 01:27:18 +02:00
2007-02-15 09:57:03 -08:00
2008-02-06 22:39:44 +01:00
2007-10-18 14:37:31 -07:00
2007-05-21 09:18:19 -07:00
2008-02-05 09:44:19 -08:00
2007-10-20 01:27:18 +02:00
2007-10-17 08:42:45 -07:00
2008-02-07 08:42:20 -08:00
2008-02-04 10:56:02 -08:00
2008-02-07 08:42:20 -08:00
2008-02-07 08:42:19 -08:00
2007-11-14 18:45:41 -08:00
2008-02-05 09:44:18 -08:00