Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752275AbbG2Pbz (ORCPT ); Wed, 29 Jul 2015 11:31:55 -0400 Received: from relay.parallels.com ([195.214.232.42]:59680 "EHLO relay.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751052AbbG2Pbx (ORCPT ); Wed, 29 Jul 2015 11:31:53 -0400 Date: Wed, 29 Jul 2015 18:31:35 +0300 From: Vladimir Davydov To: Michel Lespinasse CC: Michal Hocko , Andrew Morton , Andres Lagar-Cavilla , Minchan Kim , Raghavendra K T , Johannes Weiner , Greg Thelen , David Rientjes , "Pavel Emelyanov" , Cyrill Gorcunov , Jonathan Corbet , , , , , Subject: Re: [PATCH -mm v9 0/8] idle memory tracking Message-ID: <20150729153135.GW8100@esperanza> References: <20150729123629.GI15801@dhcp22.suse.cz> <20150729135907.GT8100@esperanza> <20150729144539.GU8100@esperanza> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: US-EXCH2.sw.swsoft.com (10.255.249.46) To US-EXCH2.sw.swsoft.com (10.255.249.46) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 819 Lines: 19 On Wed, Jul 29, 2015 at 08:08:22AM -0700, Michel Lespinasse wrote: > On Wed, Jul 29, 2015 at 7:45 AM, Vladimir Davydov > wrote: > > Page table scan approach has the inherent problem - it ignores unmapped > > page cache. If a workload does a lot of read/write or map-access-unmap > > operations, we won't be able to even roughly estimate its wss. > > You can catch that in mark_page_accessed on those paths, though. Actually, the problem here is how to find an unmapped page cache page *to mark it idle*, not to mark it accessed. Thanks, Vladimir -- 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/