On Wed, May 01, 2013 at 01:41:34PM +0800, Sam Ben wrote:Hi Mel,The workload is git checkouts of a fixed number of commits for the
On 04/30/2013 12:31 AM, Mel Gorman wrote:
If a page is on a pagevec then it is !PageLRU and mark_page_accessed()Could you show us the details of your workload?
may fail to move a page to the active list as expected. Now that the
LRU is selected at LRU drain time, mark pages PageActive if they are
on a pagevec so it gets moved to the correct list at LRU drain time.
Using a debugging patch it was found that for a simple git checkout
based workload that pages were never added to the active file list in
kernel git tree. It starts with a warm-up run that is not timed and then
records the time for a number of iterations.