Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6382503ybc; Wed, 27 Nov 2019 21:31:25 -0800 (PST) X-Google-Smtp-Source: APXvYqyFaQ2EqpkSjAbVOZ4fU4U6bPL4c1kXHMG/ujU8KTVk5UtpyaubU6I0O3Ri2eto9p22JLsY X-Received: by 2002:a05:6402:1d8f:: with SMTP id dk15mr7040206edb.29.1574919085461; Wed, 27 Nov 2019 21:31:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574919085; cv=none; d=google.com; s=arc-20160816; b=dmYuHoMtvkBmXPNUny3Gxb2IzmYNxxSpzzLmTHEImGTyIz04cmlft81sPARnFvmpBn myrzVuHH/ii0/Kh/CqHnVrzu+nfGLqGDSpKYP3/tLdGKVXUVtgRQryJjrCJL2F+tjVXk Wo6R2qMScfdmXmkFKmgh8t6XcsrmSOJgUOSy8QG4YBbFhJNkjuqv+TByK2qSpotAUpV6 EaUlsC/IPDPR1e+ZIvtC66yPKEwgtQ/ffsHJiZbWVeGI1jnY3yEZNTOVi+tUoDuzLq1D bTiJJ7aI4Lu/gD/717/tr8mS4F6VcERspcalEzu1YXpIpLuvfftPOMQI/g2yOXL32Uis UIpQ== 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=6JeSUXVQDGCUYYcNKe45+WF+kpOA9LlsO7GcEb1KsvI=; b=tsjDm7fh4JPxiyNOrMpPxA8OeWT0dRJylSA4remnSAOe8cw/YKWisKcR8sG3T/h3Cu vDdDmU8OYcjzS7i3ZRh8LhsxAo6hVlP6tI1zTP76CPjeEUUgucqPjOC1kV294RqS4Nth tOCmAH2hshpVB4K2jn06lOCaRaxxuE18rfZTDHuo1hp9kvBeKzCquqFrmeLT69AYUYR8 w98R6OonBbov+f6iOI/J4obJvsH6NbEEU113P1YTWhUpKcpBvisTY3LMYmXK+6fFYJVU 3AAwcD5Q3vgtGxTRreBk54Nklv9F9l1GZ+b0grGcP9/iTp7lhZsWRKlcgI2nEsmKN+XJ P5lw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h36si12582498eda.206.2019.11.27.21.31.00; Wed, 27 Nov 2019 21:31:25 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727086AbfK1F0h (ORCPT + 99 others); Thu, 28 Nov 2019 00:26:37 -0500 Received: from foss.arm.com ([217.140.110.172]:59070 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726608AbfK1F0h (ORCPT ); Thu, 28 Nov 2019 00:26:37 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6628C30E; Wed, 27 Nov 2019 21:26:36 -0800 (PST) Received: from [10.163.1.7] (unknown [10.163.1.7]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0932C3F6C4; Wed, 27 Nov 2019 21:26:33 -0800 (PST) Subject: Re: [PATCH v2] mm: fix comments related to node reclaim To: Hao Lee , akpm@linux-foundation.org Cc: mgorman@suse.de, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20191126141346.GA22665@haolee.github.io> From: Anshuman Khandual Message-ID: <688fe7f3-f94c-6e67-9c35-0d6cf1096e02@arm.com> Date: Thu, 28 Nov 2019 10:57:23 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20191126141346.GA22665@haolee.github.io> 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 11/26/2019 07:43 PM, Hao Lee wrote: > As zone reclaim has been replaced by node reclaim, this patch fixes related > comments. > > Signed-off-by: Hao Lee > --- > include/linux/mmzone.h | 2 +- > include/uapi/linux/sysctl.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h > index 9e47289a4511..7e3208f4f5bc 100644 > --- a/include/linux/mmzone.h > +++ b/include/linux/mmzone.h > @@ -747,7 +747,7 @@ typedef struct pglist_data { > > #ifdef CONFIG_NUMA > /* > - * zone reclaim becomes active if more unmapped pages exist. > + * node reclaim becomes active if more unmapped pages exist. > */ > unsigned long min_unmapped_pages; > unsigned long min_slab_pages; > diff --git a/include/uapi/linux/sysctl.h b/include/uapi/linux/sysctl.h > index 87aa2a6d9125..27c1ed2822e6 100644 > --- a/include/uapi/linux/sysctl.h > +++ b/include/uapi/linux/sysctl.h > @@ -195,7 +195,7 @@ enum > VM_MIN_UNMAPPED=32, /* Set min percent of unmapped pages */ > VM_PANIC_ON_OOM=33, /* panic at out-of-memory */ > VM_VDSO_ENABLED=34, /* map VDSO into new processes? */ > - VM_MIN_SLAB=35, /* Percent pages ignored by zone reclaim */ > + VM_MIN_SLAB=35, /* Percent pages ignored by node reclaim */ > }; This looks good to me but wondering if this sort of change could qualify for a stand alone patch or should be carried along with other functional changes. Will leave it upto others to decide. > > >