Re: [PATCH 1/3] Lumpy Reclaim V4

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andy Whitcroft <apw@...>
Cc: Andrew Morton <akpm@...>, <linux-mm@...>, <linux-kernel@...>, Mel Gorman <mel@...>
Date: Monday, March 12, 2007 - 2:36 pm

On Mon, 2007-03-12 at 18:23 +0000, Andy Whitcroft wrote:

Would having something like:

        static inline int pfn_in_zone_hole(unsigned long pfn)
        {
        #ifdef CONFIG_HOLES_IN_ZONE
        	if (unlikely(!pfn_valid(pfn)))
        		return 1;
        #endif 
        	return 0;
        }
        
help us out?  page_is_buddy() and page_is_consistent() appear to do the
exact same thing, with the same #ifdef.

-- Dave

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/3] Lumpy Reclaim V4, Andy Whitcroft, (Mon Mar 12, 2:23 pm)
Re: [PATCH 1/3] Lumpy Reclaim V4, Dave Hansen, (Mon Mar 12, 2:36 pm)
Re: [PATCH 1/3] Lumpy Reclaim V4, Andy Whitcroft, (Mon Mar 12, 2:48 pm)