Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756218Ab3EAIOh (ORCPT ); Wed, 1 May 2013 04:14:37 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:37597 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753289Ab3EAIOZ (ORCPT ); Wed, 1 May 2013 04:14:25 -0400 Message-ID: <5180CED8.9040505@gmail.com> Date: Wed, 01 May 2013 16:14:16 +0800 From: Ric Mason User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Mel Gorman CC: Sam Ben , 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 References: <1367253119-6461-1-git-send-email-mgorman@suse.de> <1367253119-6461-3-git-send-email-mgorman@suse.de> <5180AB0E.6030407@gmail.com> <20130501080644.GE11497@suse.de> In-Reply-To: <20130501080644.GE11497@suse.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1216 Lines: 29 On 05/01/2013 04:06 PM, Mel Gorman wrote: > 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 Is there script which you used? > kernel git tree. It starts with a warm-up run that is not timed and then > records the time for a number of iterations. How to record the time for a number of iterations? Is the iteration here means lru scan? > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/