Re: [PATCH -mm] vmscan: make mapped executable pages the first classcitizen
From: Rik van Riel
Date: Tue May 12 2009 - 09:22:22 EST
Wu Fengguang wrote:
Also, the change makes this comment:
spin_lock_irq(&zone->lru_lock);
/*
* Count referenced pages from currently used mappings as
* rotated, even though they are moved to the inactive list.
* This helps balance scan pressure between file and anonymous
* pages in get_scan_ratio.
*/
reclaim_stat->recent_rotated[!!file] += pgmoved;
inaccurate.
Good catch, I'll just remove the stale "even though they are moved to
the inactive list".
Well, it is still true for !VM_EXEC pages.
--
All rights reversed.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/