summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorGerald Schaefer <gerald.schaefer@de.ibm.com>2008-10-19 05:27:11 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-20 17:52:32 +0200
commit1125b4e3949949b44a7c80b619507c6f61d62911 (patch)
tree74d1461ce1bb7eec62ce5f020061c4d7c1a4feba /drivers/base
parenthugepage: support ZERO_PAGE() (diff)
downloadlinux-1125b4e3949949b44a7c80b619507c6f61d62911.tar.xz
linux-1125b4e3949949b44a7c80b619507c6f61d62911.zip
setup_per_zone_pages_min(): take zone->lock instead of zone->lru_lock
This replaces zone->lru_lock in setup_per_zone_pages_min() with zone->lock. There seems to be no need for the lru_lock anymore, but there is a need for zone->lock instead, because that function may call move_freepages() via setup_zone_migrate_reserve(). Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Tested-by: Yasunori Goto <y-goto@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions