From patchwork Thu Oct 24 15:16:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hao Lee X-Patchwork-Id: 11210001 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 E695A13BD for ; Thu, 24 Oct 2019 15:16:27 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id A8B3E21872 for ; Thu, 24 Oct 2019 15:16:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ssv4tSdB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A8B3E21872 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 D2A7F6B000A; Thu, 24 Oct 2019 11:16:26 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id CB4CD6B000C; Thu, 24 Oct 2019 11:16:26 -0400 (EDT) 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 B7C116B000D; Thu, 24 Oct 2019 11:16:26 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0159.hostedemail.com [216.40.44.159]) by kanga.kvack.org (Postfix) with ESMTP id 8F1C06B000A for ; Thu, 24 Oct 2019 11:16:26 -0400 (EDT) Received: from smtpin03.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with SMTP id 240EA8249980 for ; Thu, 24 Oct 2019 15:16:26 +0000 (UTC) X-FDA: 76079029572.03.swim86_1b06c835d9f58 X-Spam-Summary: 2,0,0,e0bf2d1652b82535,d41d8cd98f00b204,haolee.swjtu@gmail.com,:akpm@linux-foundation.org:vbabka@suse.cz:dan.j.williams@intel.com:mhocko@suse.com:richard.weiyang@gmail.com:mgorman@techsingularity.net:hannes@cmpxchg.org:arunks@codeaurora.org::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:1539:1568:1593:1594:1595:1596:1711:1714:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3868:3871:4321:5007:6261:6653:7514:9413:10004:10400:11026:11473:11658:11914:12296:12297:12438:12517:12519:12555:12895:12986:13069:13311:13357:13439:13895:14181:14394:14687:14721:21080:21444:21451:21627:21666:30054,0,RBL:209.85.215.195:@gmail.com:.lbl8.mailshell.net-62.18.175.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:28,LUA_SUMMARY:none X-HE-Tag: swim86_1b06c835d9f58 X-Filterd-Recvd-Size: 3639 Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by imf32.hostedemail.com (Postfix) with ESMTP for ; Thu, 24 Oct 2019 15:16:25 +0000 (UTC) Received: by mail-pg1-f195.google.com with SMTP id 15so9086167pgt.7 for ; Thu, 24 Oct 2019 08:16:25 -0700 (PDT) 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=bMFXyQ/ifc5BgLePO0qu5uaO9duXO+csQegjA52St2E=; b=Ssv4tSdBz1gNM3jm5CtPdWMpyQ5Nc2nE8PeqfbVFhZK9+au2mV+Kw3+KUQeN3vyW/d AQE3+s702YnsYLm311x5YmqoPWspLhieXwmPD9ECBDvWfZS1mO7M3sdIBKl9ZYS4jKSr BmHPFeoqZhLJzF0xgEiD+WQJYbZV2IDvow8/1ZrjAAM8mn1AMekbcdDhY/9PKXOSXA6i IvF89GzYBjAcJMHDiHVsC5cT8xVnjXNHISqTcS3/g2x6ZI4c/zKABCx4mvzOZbbBrxQE kUN2G/q6DQel2kR+qoEZ2c9ZlxPT2gs+gxLkpZtcPuoJPrt9h+yVSp+r460ymf8luvw6 Pe0Q== 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=bMFXyQ/ifc5BgLePO0qu5uaO9duXO+csQegjA52St2E=; b=nIKE90BvPH42cGbA22Zc/82UclYsmJR+gD3b1J15RY7SrynV7JkK6TjDRgSExZOLEJ X4ZlczZnlCs0CbE8zTY/67CDA9PC1aJq3LqnVMnqGaIcpQryobED4tK3+LBo0PaXGJXr /imfHNRxCwYY/AW5LFo94Hzxw1DhJFk/u0APQeEslnbGCvpP9BEXsRJQQQssLjsiBPj/ pIVKuml/uPNvFmpKvnSIATkhJIf5Mb+Z67nP0JamsMO9MTkyEHWq5ZhFOkXHK4UbWUhn 1x5DyIyq6W1AS1i/ySWoEwAbs6kyt///FD8o8Q3QxXmub5xYE7gKv7MMi4Copu6bZg0O j7aQ== X-Gm-Message-State: APjAAAWCuqjAMdMk4Atmm9jMKKvYzfqj1djYMDEGzBlBBPEPkWoDVhsy NxCvx6Ql4yAMNAuF2zpw0L0= X-Google-Smtp-Source: APXvYqzzBxfRJrFVdFUjbK6204dZsCCoLPuQUSZ47XTvqkAJFRij5GfgwfIQLObYB+ZDuVA1BO783A== X-Received: by 2002:a63:4c5:: with SMTP id 188mr3506271pge.359.1571930184529; Thu, 24 Oct 2019 08:16:24 -0700 (PDT) Received: from haolee.github.io ([2600:3c01::f03c:91ff:fe02:b162]) by smtp.gmail.com with ESMTPSA id e184sm29078262pfa.87.2019.10.24.08.16.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2019 08:16:23 -0700 (PDT) Date: Thu, 24 Oct 2019 15:16:21 +0000 From: Hao Lee To: akpm@linux-foundation.org Cc: vbabka@suse.cz, dan.j.williams@intel.com, mhocko@suse.com, richard.weiyang@gmail.com, mgorman@techsingularity.net, hannes@cmpxchg.org, arunks@codeaurora.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, haolee.swjtu@gmail.com Subject: [PATCH] mm: fix comment for ISOLATE_UNMAPPED macro Message-ID: <20191024151621.GA20400@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: Both file-backed pages and anonymous pages can be unmapped. ISOLATE_UNMAPPED is not just for file-backed pages. Signed-off-by: Hao Lee --- include/linux/mmzone.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index b1f274b6d3c3..9e47289a4511 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -308,7 +308,7 @@ struct lruvec { #endif }; -/* Isolate unmapped file */ +/* Isolate unmapped pages */ #define ISOLATE_UNMAPPED ((__force isolate_mode_t)0x2) /* Isolate for asynchronous migration */ #define ISOLATE_ASYNC_MIGRATE ((__force isolate_mode_t)0x4)