Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp952969ybt; Wed, 1 Jul 2020 14:26:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1J9a3EvwtWLrwnsxH4WWXxRo9APAQkyXd9MOu6Om1BlYTbtQUdxGLji2aCTP6ie3H42uv X-Received: by 2002:a17:906:fcab:: with SMTP id qw11mr24409384ejb.456.1593638769793; Wed, 01 Jul 2020 14:26:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593638769; cv=none; d=google.com; s=arc-20160816; b=dyu7S8vvdVQt7ac8YBoSdkDZb4Qm3+20NA8XrwLsrMiPa5EhXkEd6jZ33UUePbOLSG ex9U7S6VXA5yZD500fCh4WpjIQEFJBCm+k2Dd7Z+FDurmEtysPPBmZ5NFfkjiBN7zZNm tRv7dfklAJArgXFuzmWq/VMREAMhVzKCmGy/M6UbUSZRloqM5ZV4yw5mLS7JbggWSHpQ F9R5CQEJiqDL4M+fK6vJSh4AcH/ftiWFYD0797uiEzNhQqHCkt3qreHg/Ue9p9qV4LXj qzjhuJIDnTlFqDiH0OQd26ocGblfjMimjnhS1jYt4SP0ygVWUa8BpSKWZybHTAHrNlK0 Kk8Q== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=k+X8NVFDuBUVn+jbZ7h/lebm1bnLwnY3/zvUkXyHJUo=; b=ds9FulEyQvs25AWriX6wyU048oQEHosoyT1INTt5H1u4C9aghtBTDk7WQ5QxCU7oG5 y4Sros6t+rxAPxPegItKy25zmzeSuFY3Y19oOJ3HCP9BGuN9koKzqmLBpfFECcY3eSmQ AvkbH8yFhPHEMtIJ292yNngIJCdIE47wCWEDOfaveqNboU5hs+wAfC5WbguHaRljy/06 cKex9vo7gMGmT3Z1XkplDY601H+zw6E4tO/UuXNZR0lM6vWyLmE4eUw9ahCEOeWlQ5LM S4xJHa7cY6bZpBrXmrzooeHLXZyrQpmuU9B4gjSntOZnJlbnnDi7wM+IyX8yTZ8QYrA+ bkkg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn21si6215510ejc.19.2020.07.01.14.25.46; Wed, 01 Jul 2020 14:26:09 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727798AbgGAVZQ (ORCPT + 99 others); Wed, 1 Jul 2020 17:25:16 -0400 Received: from mx2.suse.de ([195.135.220.15]:48842 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725915AbgGAVZP (ORCPT ); Wed, 1 Jul 2020 17:25:15 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id BB761AAE8; Wed, 1 Jul 2020 21:25:14 +0000 (UTC) Subject: Re: [PATCH v6 3/6] mm/workingset: extend the workingset detection for anon LRU To: js1304@gmail.com, Andrew Morton Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Johannes Weiner , Michal Hocko , Hugh Dickins , Minchan Kim , Mel Gorman , kernel-team@lge.com, Joonsoo Kim References: <1592371583-30672-1-git-send-email-iamjoonsoo.kim@lge.com> <1592371583-30672-4-git-send-email-iamjoonsoo.kim@lge.com> From: Vlastimil Babka Message-ID: <8d12fc23-8731-c5f5-e38c-f40bfecb067f@suse.cz> Date: Wed, 1 Jul 2020 23:25:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <1592371583-30672-4-git-send-email-iamjoonsoo.kim@lge.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > 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 refault, activate and restore into anon and file variants, as well as the refaults counter in struct lruvec. > 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. > Acked-by: Johannes Weiner > Signed-off-by: Joonsoo Kim Acked-by: Vlastimil Babka