From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755455Ab3EAIHG (ORCPT ); Wed, 1 May 2013 04:07:06 -0400 Received: from cantor2.suse.de ([195.135.220.15]:47185 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751228Ab3EAIGv (ORCPT ); Wed, 1 May 2013 04:06:51 -0400 Date: Wed, 1 May 2013 09:06:44 +0100 From: Mel Gorman To: Sam Ben Cc: Alexey Lyahkov , Andrew Perepechko , Robin Dong , Theodore Tso , Andrew Morton , Hugh Dickins , Rik van Riel , Johannes Weiner , Bernd Schubert , David Howells , Trond Myklebust , Linux-fsdevel , Linux-ext4 , LKML , Linux-mm Subject: Re: [PATCH 2/3] mm: Ensure that mark_page_accessed moves pages to the active list Message-ID: <20130501080644.GE11497@suse.de> References: <1367253119-6461-1-git-send-email-mgorman@suse.de> <1367253119-6461-3-git-send-email-mgorman@suse.de> <5180AB0E.6030407@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <5180AB0E.6030407@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 01, 2013 at 01:41:34PM +0800, Sam Ben wrote: > Hi Mel, > 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() > >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 > > Could you show us the details of your workload? > The workload is git checkouts of a fixed number of commits for the kernel git tree. It starts with a warm-up run that is not timed and then records the time for a number of iterations. -- Mel Gorman SUSE Labs