]> err.no Git - linux-2.6/commit
mm: don't drop a partial page in a zone's memory map size
authorJohannes Weiner <hannes@saeurebad.de>
Fri, 23 May 2008 20:04:21 +0000 (13:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 24 May 2008 16:56:07 +0000 (09:56 -0700)
commitf7232154198f928fc25f420d6190468212a7632a
tree3216938f94face00fd6c6094bc8ccb66c2ef3619
parentf899b0adc6fc8f60a9db8b52f36f06fd1abeaf7c
mm: don't drop a partial page in a zone's memory map size

In a zone's present pages number, account for all pages occupied by the
memory map, including a partial.

Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c