Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1913321ybt; Thu, 2 Jul 2020 17:52:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJKpuTfFFTfIffzGODySRZMlr7Iqsj4/c/tUx7vm2LPxKBfSfh3yuk7Y+PMH0jK8qGwQAu X-Received: by 2002:aa7:c54e:: with SMTP id s14mr38181257edr.81.1593737560831; Thu, 02 Jul 2020 17:52:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593737560; cv=none; d=google.com; s=arc-20160816; b=Rg7cXZT/tdHHdvxRCUxGx5VXOYyG8twdWwHFLrBFt80XKAqEtwn1cCn9BqQ3Wvu160 ehS/9/BOjc1CQ3jDK6tlrhKVTp4C0nu0MBZZfsA39iRoz1XAHzQdmDhH6t1dKaTHKl7F u4mm7RUkGtKHbpsJfzM+LXgU6+BFWaC2m7D1apqTR/JW2crIVWCTe/R9vakO2F1nrTqd PlHBg4Bq69h7bT+MQm8fLqv2QYGBW/FDOXnnPOLJONMCBLiPVc9IH8zhzjd0TyJlQKro RDoMDWAuR/7kZ8s/NPDlv3mJubA/P6A5FVV+tFNtGKfAag5kD1kxcKckwPBFdgLkEs7y KCVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=lLFGT/BBldZHf5sKMBUPCZSt+jbFoZ4KvTvg/Gf1JYs=; b=z+oERMvM+oIFHq9Gu4Of2dGSst2wlL61z+jrK8uDamWdf2ICW85iKkfr2R27V+n8q/ mFH++7UowEpNfknScj5HUuwwxRT8ahP9daTwqsvlYDlAe8swnzGKyWau3PhpX0JP5dJv hQ/6QlG9JBFaITaJpxm0WugB6T0BQeCvUF/2CYfPxeJve1q9zHlOew8sb7gnddC9ANcB k3+QpU+r3CzgBzr7V+1LR+iWe+JtubRWAZVtIk7ZmwYUtPYBjPR4VdBymS+N5IKOqwqW 0VBZQg0meVI/bp01RT3x1NaNtqtiKlJT5uqEqN4A8zBwMmy8nhdazMvSyDaDPBceUs6C XLyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bE5Ob0jK; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n27si6984582eje.543.2020.07.02.17.52.17; Thu, 02 Jul 2020 17:52:40 -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=@gmail.com header.s=20161025 header.b=bE5Ob0jK; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726417AbgGCAvg (ORCPT + 99 others); Thu, 2 Jul 2020 20:51:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726028AbgGCAvg (ORCPT ); Thu, 2 Jul 2020 20:51:36 -0400 Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52AF7C08C5C1 for ; Thu, 2 Jul 2020 17:51:36 -0700 (PDT) Received: by mail-qk1-x741.google.com with SMTP id r22so27438647qke.13 for ; Thu, 02 Jul 2020 17:51:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=lLFGT/BBldZHf5sKMBUPCZSt+jbFoZ4KvTvg/Gf1JYs=; b=bE5Ob0jKSu7KhEBUFlQPcIMPq17doykc18l+PBJ2fg8blHy2jIHU9FclxiycIFZ/yt 3uXHNIgCpSv87fDrZn1NkYiKs9w9wDS3UKyNAh4Hjn6PLRO/vNBUn68E8XyfPu23yvTo GVIRzdVRuJ+yxNCukqgIeQhYkt9UamxipRNAdhtXl0taq3wJrsUPyecrB5a13llc5g0Q cBgCSsh9qJn65oczXnL69iIAxLSVHZCfndDa3BFkynHJDbpTdrUd/GUWBg8nPXmUtVIl tXj1M1fsNDsO/TwuoiL+vhjZb45cVOGvg/rbIdAmK65NDxcR0ty7BM7eTfZXOurL7gt2 jDJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=lLFGT/BBldZHf5sKMBUPCZSt+jbFoZ4KvTvg/Gf1JYs=; b=fKZGWoa9CaG1Bgn18CJkeKU/5ZB2vIgmvX4/mM8VXHDAXDYp5fALdhePlMI/r1+Jz7 xWbi3LLjvw1IlgIyXXg7Q4zjItL4vZLP80DxfuFopskz4liUtlvFR0xRirqM00H5vZUE 5U12k+f7x0HqCtdeQmafCwjvQqz2KawVZ5+gMsX/4nPSBurDuTiIv9qicq+DVX3G6rdV 3GcBV2CJqPqnO/8UvjYxK5W2Os+243vnA67hPZAuYAywxMI76rng8n54stznMP98g+oG tYbaQJzfrC+D48w/FQnMbCI2UVOVcZkQlsISLTpeJJGqUxMTv8pVIKM271euQoPdwKR0 BzGw== X-Gm-Message-State: AOAM533Gmi2UarkwE3rVsILsjxx2gsvb9USfEH4jEfPx6MkphV7hiv9N jh0NjztSRvkSEYlJl9vSY/VbDBi44Du2v+XfWxU= X-Received: by 2002:a37:345:: with SMTP id 66mr31062128qkd.272.1593737495575; Thu, 02 Jul 2020 17:51:35 -0700 (PDT) MIME-Version: 1.0 References: <1592371583-30672-1-git-send-email-iamjoonsoo.kim@lge.com> <1592371583-30672-4-git-send-email-iamjoonsoo.kim@lge.com> <8d12fc23-8731-c5f5-e38c-f40bfecb067f@suse.cz> In-Reply-To: <8d12fc23-8731-c5f5-e38c-f40bfecb067f@suse.cz> From: Joonsoo Kim Date: Fri, 3 Jul 2020 09:51:24 +0900 Message-ID: Subject: Re: [PATCH v6 3/6] mm/workingset: extend the workingset detection for anon LRU To: Vlastimil Babka Cc: Andrew Morton , Linux Memory Management List , LKML , Johannes Weiner , Michal Hocko , Hugh Dickins , Minchan Kim , Mel Gorman , kernel-team@lge.com, Joonsoo Kim Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2020=EB=85=84 7=EC=9B=94 2=EC=9D=BC (=EB=AA=A9) =EC=98=A4=EC=A0=84 6:25, Vl= astimil Babka =EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84=B1: > > On 6/17/20 7:26 AM, js1304@gmail.com wrote: > > From: Joonsoo Kim > > Hi, > > I would adjust the subject, as it sounds like the patch does the whole > workingset detection, not just preparation. > How about: > > mm/workingset: prepare the workingset infrastructure for anon LRU Looks good. I will use it. > > In the following patch, workingset detection will be applied to > > anonymous LRU. To prepare it, this patch adds some code to > > distinguish/handle the both LRUs. > > How about: > To prepare for this, this patch splits workingset event counters for refa= ult, > activate and restore into anon and file variants, as well as the refaults > counter in struct lruvec. Will do. > > v6: do not introduce a new nonresident_age for anon LRU since > > we need to use *unified* nonresident_age to implement workingset > > detection for anon LRU. > > Again, v6 update info shouldn't go to changelog. In this case I think it = doesn't > need mentioning at all, at least not in this patch. Okay. I agree that this should not be included in the changelog. I just wan= t to notice someone who checked previous patches about that there is an important change in this version. > > Acked-by: Johannes Weiner > > Signed-off-by: Joonsoo Kim > > Acked-by: Vlastimil Babka Thanks.