Re: [PATCH 2/5] lumpy: isolate_lru_pages wants to specifically take active or inactive pages

2007-03-02 Thread Andy Whitcroft
Christoph Lameter wrote: > On Tue, 27 Feb 2007, Andy Whitcroft wrote: > >> The caller of isolate_lru_pages specifically knows whether it wants >> to take either inactive or active pages. Currently we take the >> state of the LRU page at hand and use that to scan for matching >> pages in the order

Re: [PATCH 2/5] lumpy: isolate_lru_pages wants to specifically take active or inactive pages

2007-02-28 Thread Christoph Lameter
On Tue, 27 Feb 2007, Andy Whitcroft wrote: > The caller of isolate_lru_pages specifically knows whether it wants > to take either inactive or active pages. Currently we take the > state of the LRU page at hand and use that to scan for matching > pages in the order sized block. If that page is tr

[PATCH 2/5] lumpy: isolate_lru_pages wants to specifically take active or inactive pages

2007-02-27 Thread Andy Whitcroft
The caller of isolate_lru_pages specifically knows whether it wants to take either inactive or active pages. Currently we take the state of the LRU page at hand and use that to scan for matching pages in the order sized block. If that page is transiting we can scan for the wrong type. The calle