Re: [patch 1/2] vm early reclaim orphaned pages (take 2)

From: Nick Piggin
Date: Wed Jun 22 2005 - 22:11:38 EST

Rik Van Riel wrote:
On Mon, 20 Jun 2005, Nick Piggin wrote:

+ if (PageLRU(page) && PageActive(page)) {
+ list_move(&page->lru, &zone->inactive_list);
+ ClearPageActive(page);
+ }

Unless I'm missing something subtle, you might want to
update zone->nr_active and zone->nr_inactive ...

You're right, thanks very much Rik.

Send instant messages to your online friends -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at