Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3196299ybc; Mon, 25 Nov 2019 10:27:35 -0800 (PST) X-Google-Smtp-Source: APXvYqzjYFrpg39+xwNU1sRkHU90BtmxGCVxssDhecA6q+CTEv4kgY4D6Dd4fFFGaIZPZqYSKHq5 X-Received: by 2002:a50:9fcb:: with SMTP id c69mr20249058edf.163.1574706455039; Mon, 25 Nov 2019 10:27:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574706455; cv=none; d=google.com; s=arc-20160816; b=o3j6j4euZl1lqvKNwPI8vYdKzKW/OJZMkPmXS8uOzC/UljRjdoc+OrpAsZ+lKG4n45 OWdKuZ6033NYhrUX8MI0r9jjNXPGDu+Zn8auoPC7NaYyWq8b0DFPnFKyl02GCEoFCK6r mGHRsvsaFNXLOeMA+3Vl0K9ZEI3PIOS/7AfZ2+cL/gThbZU7vNkpS7G6Qyen2BhpDDKB 7Hueb0ltI/MVfI6r7EfO5lNVFv0OSNyueQKoPgzHekzj04/LtmPfERBAcUyhPiSKqaPL YMzNBI246Puekcd6wV+Rl9iAO1x5IN4y24h8Wc6//+FpTiZXf0a2/CW/hChuZHYrzOoZ IzTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=/jORnAlcsB1daMxnJzmULfdvfXi6vOqocPRyBnYdUVA=; b=L1xbUjIKFZzSDQGNBbA2glWKI6jjXfYEC8pA9gf+UK/ehlpQUoBOoxFHv+YND4lmR1 3KJsIERe2XXhKulBEFBQpqiyYa5DIlKgCG5vPGjeruNsGyt8i0BvYqDPMnvYRT5Bazc1 yiFpcVc16plHaBwCRvVbccfAoBrKSZ+0lQctPu26G1PgrdaQNwAfTkaLq3xt4m0IBImi XR+TvfvCN2pMCKDP4UoKM8BAMHfASgkVLGofTIRQbDeJe1d8eUTLnJCoOwySk9ynSulx MkL62PWRIxI1M+5Zfowjr/gW9+ownS89G4eKilJXyV2OfD2JbH1W4j6vwWOps6CMJqdP PUpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hBNkAIWf; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c9si5129107ejm.397.2019.11.25.10.27.09; Mon, 25 Nov 2019 10:27:35 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hBNkAIWf; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727989AbfKYOUX (ORCPT + 99 others); Mon, 25 Nov 2019 09:20:23 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:33170 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727655AbfKYOUW (ORCPT ); Mon, 25 Nov 2019 09:20:22 -0500 Received: by mail-pg1-f196.google.com with SMTP id 6so2733438pgk.0 for ; Mon, 25 Nov 2019 06:20:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=/jORnAlcsB1daMxnJzmULfdvfXi6vOqocPRyBnYdUVA=; b=hBNkAIWf8+LBWPlsDUD00QD9+AKz1qIs1x59fc1Nk5ly2W2wEO/TkCRAGG/OE/E2A9 9eaNEM33oJTzQH/APVjsQsMcMHdLs+9r9WgLRmXM1ZMksDs7PzAQO033dgV3BHOWy2c6 c+kBcNXlm9D1wI1DAOCRo6bFWpjZCEszr7o+01ph+ypMROwTnkMTG9SRYIsoK+rzzQp8 uP09l3D7KfNLjbQ5+NjPxNkxZGK0hubGF3iLUEV1H/49cwxVh8jptNrH3r5cfq5lGxTI eRcKkup8sKnpjuRns4XxrCaGgHsOJLJrsR4a5VrQ5spzEC+zk0PjDJFh6hIoWTPlJVYq HF+g== 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:mime-version :content-disposition:user-agent; bh=/jORnAlcsB1daMxnJzmULfdvfXi6vOqocPRyBnYdUVA=; b=DAiInIHNZIS6+TFpKBY9CU2T8YyGgDmazdt2AVyVAhamkrIiDZRYb/JOTNf2nZGNUJ pdKBfvLtREfwfF3IEBqvYLPAMtQZZ1IBZE4EK3Z1aLGNZ9mHHWZbfqDwr0jhMqhVYM3h Iccibt05DusXHZU5PYIX7PA4AxYiLWGN+9hiGblPXDiHlj27yAcj6C575p+tPi85Dcdz 7q/LuhcMWoTYQ+sSDE+F4lvtyfrQFnxJu6zStuC5zjjflTJD6+J1eH3uLbwoHgNo3421 uRg9oI5yuD1YqglQocTNsXr/dL8F6FAV7epLYUv9i2TW9B2HwdzjmAd05EYmzwDsxqhz /8jA== X-Gm-Message-State: APjAAAV88XgVRFZf3oAScDA4wwEBxxY2UHW+xTSNr4WOrhvHJEQtXvB1 LHoG55VPy0eD5jv+F4nL1c2fwlHu X-Received: by 2002:aa7:9f08:: with SMTP id g8mr35463808pfr.59.1574691621266; Mon, 25 Nov 2019 06:20:21 -0800 (PST) Received: from haolee.github.io ([2600:3c01::f03c:91ff:fe02:b162]) by smtp.gmail.com with ESMTPSA id f59sm7930121pje.0.2019.11.25.06.20.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2019 06:20:20 -0800 (PST) Date: Mon, 25 Nov 2019 14:20:18 +0000 From: Hao Lee To: akpm@linux-foundation.org Cc: mgorman@techsingularity.net, linux-mm@kvack.org, linux-kernel@vger.kernel.org, haolee.swjtu@gmail.com Subject: [PATCH] mm: fix comments related to node reclaim Message-ID: <20191125142018.GA21373@haolee.github.io> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/capability.h | 2 +- include/uapi/linux/sysctl.h | 2 +- 3 files changed, 3 insertions(+), 3 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/capability.h b/include/uapi/linux/capability.h index 240fdb9a60f6..dd6772f16eec 100644 --- a/include/uapi/linux/capability.h +++ b/include/uapi/linux/capability.h @@ -273,7 +273,7 @@ struct vfs_ns_cap_data { /* Allow enabling/disabling tagged queuing on SCSI controllers and sending arbitrary SCSI commands */ /* Allow setting encryption key on loopback filesystem */ -/* Allow setting zone reclaim policy */ +/* Allow setting node reclaim policy */ #define CAP_SYS_ADMIN 21 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 */ }; -- 2.14.5