Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2507433ybt; Tue, 16 Jun 2020 07:52:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHIDGpPi3wpAdzFhRQMmeDX1mhtf5HdVjZbHbXPn7zwisLaX9hjFFx+DULWPE1PNURozJw X-Received: by 2002:a05:6402:206e:: with SMTP id bd14mr2961183edb.105.1592319121409; Tue, 16 Jun 2020 07:52:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592319121; cv=none; d=google.com; s=arc-20160816; b=GJgr92EWGo01eDXQTov+IyD92/t3/PmAyrX6tczEaLB5xL9bTGha68KEdIpqdR4SvV xFxhLudLOY0tJC0SQdLGA9kv2GBaGwulcynXPAm6YvzjsNJ3CSv/7qqDlNOp60J5FC9l bvOn3+QttLIJQTqvYUrofd12e8ksEZfA7aEFFK0D8Dojqi+Ovn6QQ6d3jXXPrbCA9cvg Zu/fljiMQYEGOTHif3ePyIF+0xliImI8PLr7zWSlsJ9WlRqWDNfDdfLbePP21rbAdoQu qvrK8hIdkWWJLGXQrfQhNnEzfiql4vmQtuSDepDY1GyqTwyCFO17EW9wTTTdtl5bn9X3 EJow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=CUmJhIGetdIkAi0i6BuHTYP3lWjyyl3D6ViYyQf5Uj4=; b=e/EoVM4dqIFMw10m+Xqc9TYwrv+ctEKpcBKnd6PbknxQJ7fSR6LGSpvsfUH+8V3dTy Lb4bHxK0+ASxbZGjtp/tgl1m0drrsPMwD4u9DJlTmN1rwhVNSPIASmlhYr9GdkhMLFGZ lMF0sBGFaJ+/b8HGtEt/lGiTdWdbWG+QSMrlJGaX4JoBiDUX4D1OC/1W3azc2ozTeSBh qMEOxMcJv9aXda/Qe46MEuX/VtLJtFXD+LbS9qUJECyN9hozWBNku4sE2hpcIFwWmtV8 H1mblx/rLSAQ/cbyNFR6+0dHbhw4BxUhc1sKlnUkp7I9bx1VPP1LyxFeI9rdtXgueG42 aKJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=T9PcuYYu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d25si6422736edx.5.2020.06.16.07.51.38; Tue, 16 Jun 2020 07:52:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=T9PcuYYu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729227AbgFPOtR (ORCPT + 99 others); Tue, 16 Jun 2020 10:49:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729005AbgFPOtQ (ORCPT ); Tue, 16 Jun 2020 10:49:16 -0400 Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FC9BC061573 for ; Tue, 16 Jun 2020 07:49:16 -0700 (PDT) Received: by mail-qt1-x844.google.com with SMTP id k22so15632425qtm.6 for ; Tue, 16 Jun 2020 07:49:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=CUmJhIGetdIkAi0i6BuHTYP3lWjyyl3D6ViYyQf5Uj4=; b=T9PcuYYuyqV5DBP+Yu+qBoWWvsosy7WrOz2UZz9Zck/OOGvvo09KjfNXgQ8YmHT6H/ eCU+bRWnVVWYfLKI7uTYZiiZiXisshQs0IffavOpsOtanvduJmuOVdtdDjHdJrJJinQx 2mEgqZU4POO6ZaqSAI10q5E8bC3FnURn+gPrsAVIvA1MkX5MM8+9nYFteJDBnWFeFHyc bxboleBlmbyJU+PQ+eusbLckfBFxu805iZ3sEmSEXR/4GSuUjIuTlmlZJsJa2lUeP6+j X7xL1UfBG3hpLiuxOMQ//BR3YfrMN8mxysgjo9hY6Xx8mbesxNOrj34Oyczf+uhFQv7y 2ibA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=CUmJhIGetdIkAi0i6BuHTYP3lWjyyl3D6ViYyQf5Uj4=; b=YfoYmx1U2NVh75blwKR9fCmXzojyledZd/A5JuluUYFHYotIOOQMyLxDjomCprQpn9 bpC5wTN7XjYe9mPuirfm+sB1Asw+vWKOoS29rYx31TmAuHKNItcITZ3S9cacrRuxakOh SWtxic8laUtpdg8NyY71J0ML6K5Ig5fwV3DzDCCBgi8gPOzwXy9Ww1eIY/i5YtQy9S0E pGeU2cV/JRZHhirhQ4UeS6sXU1g1q7b2M3ou53VPTX2V3qrh1YS0vZYSMuHQVO7NUE/b /TQ9BEeco+zTmbGcxtDwwCwpllAh3XJeMhmFNnmt3gu8OVHCM4R3/3FKi+2zYbdKfaR1 H2YQ== X-Gm-Message-State: AOAM531pRietoz17eMOtXleYKBu1U8vtxSvks4jEQkmx1tiqucY+sKS6 OA9aKl9n51a1fwaO18GAc8ljIJ8DXUQ= X-Received: by 2002:ac8:4281:: with SMTP id o1mr20843587qtl.322.1592318954708; Tue, 16 Jun 2020 07:49:14 -0700 (PDT) Received: from localhost (70.44.39.90.res-cmts.bus.ptd.net. [70.44.39.90]) by smtp.gmail.com with ESMTPSA id c58sm16783501qtd.27.2020.06.16.07.49.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jun 2020 07:49:14 -0700 (PDT) Date: Tue, 16 Jun 2020 10:48:36 -0400 From: Johannes Weiner To: js1304@gmail.com Cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Rik van Riel , Minchan Kim , Michal Hocko , kernel-team@lge.com, Joonsoo Kim Subject: Re: [PATCH for v5.8 2/3] mm/swap: fix for "mm: workingset: age nonresident information alongside anonymous pages" Message-ID: <20200616144836.GB616830@cmpxchg.org> References: <1592288204-27734-1-git-send-email-iamjoonsoo.kim@lge.com> <1592288204-27734-3-git-send-email-iamjoonsoo.kim@lge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1592288204-27734-3-git-send-email-iamjoonsoo.kim@lge.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 16, 2020 at 03:16:43PM +0900, js1304@gmail.com wrote: > From: Joonsoo Kim > > Non-file-lru page could also be activated in mark_page_accessed() > and we need to count this activation for nonresident_age. Good catch. Shmem pages use mark_page_accessed(). > Note that it's better for this patch to be squashed into the patch > "mm: workingset: age nonresident information alongside anonymous pages". > > Signed-off-by: Joonsoo Kim Acked-by: Johannes Weiner