From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E980DC433DF for ; Tue, 16 Jun 2020 14:49:17 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id B2F84208B3 for ; Tue, 16 Jun 2020 14:49:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=cmpxchg-org.20150623.gappssmtp.com header.i=@cmpxchg-org.20150623.gappssmtp.com header.b="T9PcuYYu" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B2F84208B3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cmpxchg.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 444798D0015; Tue, 16 Jun 2020 10:49:17 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3F5208D0006; Tue, 16 Jun 2020 10:49:17 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 30AB68D0015; Tue, 16 Jun 2020 10:49:17 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0040.hostedemail.com [216.40.44.40]) by kanga.kvack.org (Postfix) with ESMTP id 167A28D0006 for ; Tue, 16 Jun 2020 10:49:17 -0400 (EDT) Received: from smtpin02.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 68D90805CEC8 for ; Tue, 16 Jun 2020 14:49:16 +0000 (UTC) X-FDA: 76935357912.02.house95_53029b626dff Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin02.hostedemail.com (Postfix) with ESMTP id 0A20C1191D1 for ; Tue, 16 Jun 2020 14:49:16 +0000 (UTC) X-HE-Tag: house95_53029b626dff X-Filterd-Recvd-Size: 3794 Received: from mail-qt1-f195.google.com (mail-qt1-f195.google.com [209.85.160.195]) by imf38.hostedemail.com (Postfix) with ESMTP for ; Tue, 16 Jun 2020 14:49:15 +0000 (UTC) Received: by mail-qt1-f195.google.com with SMTP id u17so15686380qtq.1 for ; Tue, 16 Jun 2020 07:49:15 -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=h9RciL21fwxkwwHN+VP4dyhylew2iBsWfsR8xcwAuaf9n4aIhkqULZMseT6WedplpT I/CNgtMW7JrOplVgnK0Da9A/hQT3ouzgqxtv6Fi9r/9s4ws9rcze3ueRf9g7Wll2Qar7 OS21zQ584lmwGqXr4KkETWa3q9u7Tj//g5/TrSdhTj6OOpLRKEIEgrzXvH690vIWD8CT Y6gjSq5prli/fGchcQKDkzK4VnJZ7bHjKonQjMWDyDk8NduKtuRcLEmaWTrXgGWFRQPc XEeYzI0RCYcKTUSDe+J44lfXkdVp+h3tdL/mMUO6WrhSbbEDJAb/2Z9/B9g3uEWoyvPy b2PA== X-Gm-Message-State: AOAM531LgyttITdrvpuNwfgIkOmUoshWIhkpBD02OTSb2BOGwSpUAcjR 5/Q6Bf6DJS/7JIBzDQaY/882NA== X-Google-Smtp-Source: ABdhPJwj4PjxoL2t78uKg/myLcWJrkgfT9al4jQhoq8LRWuMH2RgCLfzDv9x9ep3f8Ovj0ZUX3FCVA== 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> X-Rspamd-Queue-Id: 0A20C1191D1 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam05 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000002, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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