From patchwork Tue Nov 26 14:13:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hao Lee X-Patchwork-Id: 11262519 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DB38E6C1 for ; Tue, 26 Nov 2019 14:13:51 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9EB1E207DD for ; Tue, 26 Nov 2019 14:13:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ey3utnPm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9EB1E207DD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id B76EB6B0310; Tue, 26 Nov 2019 09:13:50 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id B26D36B0312; Tue, 26 Nov 2019 09:13:50 -0500 (EST) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A3DE36B0313; Tue, 26 Nov 2019 09:13:50 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0191.hostedemail.com [216.40.44.191]) by kanga.kvack.org (Postfix) with ESMTP id 8D0696B0310 for ; Tue, 26 Nov 2019 09:13:50 -0500 (EST) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with SMTP id 45FA5824999B for ; Tue, 26 Nov 2019 14:13:50 +0000 (UTC) X-FDA: 76198622220.24.mind17_5baae218e284b X-Spam-Summary: 2,0,0,5bb3d29c5eec3584,d41d8cd98f00b204,haolee.swjtu@gmail.com,:akpm@linux-foundation.org:mgorman@suse.de:anshuman.khandual@arm.com::linux-kernel@vger.kernel.org:haolee.swjtu@gmail.com,RULES_HIT:41:355:379:800:960:973:988:989:1260:1277:1312:1313:1314:1345:1437:1516:1518:1519:1534:1541:1593:1594:1595:1596:1711:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3352:3866:4250:4321:4605:5007:6114:6261:6642:6653:7514:7903:9413:10004:10400:10450:10455:11026:11232:11473:11658:11914:12296:12297:12517:12519:12555:12895:13069:13311:13357:13439:13895:14096:14097:14181:14394:14687:14721:19904:19999:21080:21444:21627:21666:30054,0,RBL:209.85.216.65:@gmail.com:.lbl8.mailshell.net-62.50.0.100 66.100.201.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:24,LUA_SUMMARY:none X-HE-Tag: mind17_5baae218e284b X-Filterd-Recvd-Size: 4073 Received: from mail-pj1-f65.google.com (mail-pj1-f65.google.com [209.85.216.65]) by imf40.hostedemail.com (Postfix) with ESMTP for ; Tue, 26 Nov 2019 14:13:49 +0000 (UTC) Received: by mail-pj1-f65.google.com with SMTP id cq11so8369406pjb.3 for ; Tue, 26 Nov 2019 06:13:49 -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=DLvFLPDGfBrvBhBRm89ZhFfrc3GiYm8Y3odkqflTe7c=; b=Ey3utnPmhpjIwarKTbtypCzdxvZrbt4V/4dtb2vFtKYdiZN195KlQUCocszJ+CTI1U uLJA/py4sWzC1mG/WPE2Kea1iaB/XFoMwXt04UraewPhohu1AD8CVEYqGaTIubEuOTnq XRsCZ/hgb5Ddy78p3vIQWK3yv3Ivmyhkd2Hp+MHe9DHFw8oWghtIX6UaY0kfkNMuiNs5 gjv7xu9/Yx3EkXYTW55RZAc5/8ocb/r+w7cH6aAnP9NsH0Xs6k3Qh/GIVrXjIPVxZnLh M4ZGzSt0wM4JqI9TLL7h6Y7l3uHS+run/6rYB/0U0eSW9WGU/VFEAksaGm/HeJxXN5uD YlNw== 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=DLvFLPDGfBrvBhBRm89ZhFfrc3GiYm8Y3odkqflTe7c=; b=VCyLvOBP89FhRt58in3kpf2NzYbs93veXtKkNJM/ES3uYqUw17ikTI02Jcxk4lwP0v iO8JTo/KmPoKgBzRsT0GPt2tVu6RkZT8ssalLkzpFBR/mhON7w+w86ShZN02UbHkVmer /71pth6ECeG9t6blO1VG7xVHUj7wA/pL2XCZ4sSBsQ70ol8bjDVVTRvuZQ8vchm71k7R N1TpHj0GWZ5mdL3VCZ1EVcHETV+hI2xz5WRvAmCyLDYRFp3yHT2l3Bz2aEil9VDjcykX FkDi8T/aXNIWF5UZ48rLVyiZym7MtqkpqsQVNxPJoLSUC28g08Sklc3Q3TAKHcUkC71r jpcg== X-Gm-Message-State: APjAAAXEZ3qU78Z7sCblMg9xf5+2yfpxpg4IakCTyOL3pU0z2qombaYf VV5ANke+SGCmxySmn6lF2vQ= X-Google-Smtp-Source: APXvYqw6cKU1dwZaAO/qheogl3rYrFTfmwuWu9iJr+qL2DQS0kggLra0colXmbC69nzBJKpbcM23LQ== X-Received: by 2002:a17:90a:868b:: with SMTP id p11mr7257955pjn.60.1574777628805; Tue, 26 Nov 2019 06:13:48 -0800 (PST) Received: from haolee.github.io ([2600:3c01::f03c:91ff:fe02:b162]) by smtp.gmail.com with ESMTPSA id q6sm940718pfh.127.2019.11.26.06.13.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2019 06:13:48 -0800 (PST) Date: Tue, 26 Nov 2019 14:13:46 +0000 From: Hao Lee To: akpm@linux-foundation.org Cc: mgorman@suse.de, anshuman.khandual@arm.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, haolee.swjtu@gmail.com Subject: [PATCH v2] mm: fix comments related to node reclaim Message-ID: <20191126141346.GA22665@haolee.github.io> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.12.1 (2019-06-15) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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 */ };