Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4103343yba; Wed, 17 Apr 2019 04:48:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzQB2gT+vB+hahM5Ok0/UyNdfYiANv/nSswKh7kMV7OOwAlvuDSu7rRy23m6rANbMA19DeD X-Received: by 2002:a62:41dc:: with SMTP id g89mr89244339pfd.109.1555501730453; Wed, 17 Apr 2019 04:48:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555501730; cv=none; d=google.com; s=arc-20160816; b=oDscyr6X6OxQ6041FetWbGHSi/k0vNTJ3U1bKpMdUtu9wcTGQjJ1S/TeEddcAExf79 v8YA06JsnAaQevdTNH5ot3Op8Ki3YTrWEpSt8oeYEo/7nME/wvxTI7HtKQcjLWcu2Y4/ wOWC7Y5LfsKe0QVwW27Lo+55We86fCIreZVPLjl1OA61WIwIbpcwFY5vjiveZ2DdqEcP 8SUsdSH4o6TqwWpjyu7L4y2t94I0lzElbf9iXv17KoxgKAsgwbGmB8hsw4cEAcEr9GXk XkTeEGF4gqAEAjLkoUfxZLYGu4vcukBalSTy5QNKrdM3O3NYCPkqFI+v/VqI6NDoQZyv QorA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=VqZMGuZcdg9YJNZYsOVbEp4PB4gcial3BzcxpfC/d3s=; b=NShN2LEbe2e195OXUP9Llv7SvTSRsLiqughxzMdbRbIfoQFh2J3kpon+VGJKKAb/O8 I/QOd/HwbiKixRvQTLluX3byYodxBfg43XNPcQ36WhszXpwWZymRkCTiknY7BDfce2KX Sn4Lp+jnptb+lLB6wxNUwGCcdIre5Sjx04XIeJ64AlXxWS1Hh71t39vIvOhhL81LlarZ 4qZoXXlnL9GEy31+QmpS06tv39ODEA/WG0fB2c7ufUdhfBUH+LrlBXANkwxMExEupJ61 F28hLgCU2YEkMEfsSalarl5G2McOyMp4xi1LhTWJn1SAFbm1/MHXBlT65DeuUxYZQPKo m7cQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a68si20200226pla.60.2019.04.17.04.48.35; Wed, 17 Apr 2019 04:48:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731809AbfDQLqY (ORCPT + 99 others); Wed, 17 Apr 2019 07:46:24 -0400 Received: from mx2.suse.de ([195.135.220.15]:42630 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729522AbfDQLqY (ORCPT ); Wed, 17 Apr 2019 07:46:24 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id A8FE3AFBD; Wed, 17 Apr 2019 11:46:22 +0000 (UTC) Date: Wed, 17 Apr 2019 13:46:21 +0200 From: Michal Hocko To: Zhaoyang Huang Cc: Andrew Morton , Vlastimil Babka , Joonsoo Kim , David Rientjes , Zhaoyang Huang , Roman Gushchin , Jeff Layton , "open list:MEMORY MANAGEMENT" , LKML , Pavel Tatashin , Johannes Weiner , Matthew Wilcox Subject: Re: [RFC PATCH] mm/workingset : judge file page activity via timestamp Message-ID: <20190417114621.GF5878@dhcp22.suse.cz> References: <1555487246-15764-1-git-send-email-huangzhaoyang@gmail.com> <20190417110615.GC5878@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 17-04-19 19:36:21, Zhaoyang Huang wrote: > sorry for the confusion. What I mean is the basic idea doesn't change > as replacing the refault criteria from refault_distance to timestamp. > But the detailed implementation changed a lot, including fix bugs, > update the way of packing the timestamp, 32bit/64bit differentiation > etc. So it makes sense for starting a new context. Not really. My take away from the previous discussion is that Johannes has questioned the timestamping approach itself. I wasn't following very closely so I might be wrong here but if that is really the case then it doesn't make much sense to improve the implementation if there is no consensus on the approach itself. -- Michal Hocko SUSE Labs