[PATCH 5/5] lumpy: only check for valid pages when holes are present

2007-02-27 Thread Andy Whitcroft
We only need to check that each page is valid with pfn_valid when we are on an architecture which had holes within zones. Make this check conditional. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- diff --git a/mm/vmscan.c b/mm/vmscan.c index bef7e92..f249ad7 100644 --- a/mm/vmscan.c +++

[PATCH 5/5] lumpy: only check for valid pages when holes are present

2007-02-27 Thread Andy Whitcroft
We only need to check that each page is valid with pfn_valid when we are on an architecture which had holes within zones. Make this check conditional. Signed-off-by: Andy Whitcroft [EMAIL PROTECTED] --- diff --git a/mm/vmscan.c b/mm/vmscan.c index bef7e92..f249ad7 100644 --- a/mm/vmscan.c +++