From patchwork Thu Sep 27 22:15:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Shi X-Patchwork-Id: 10618667 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 09F44913 for ; Thu, 27 Sep 2018 22:16:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F0F382B92F for ; Thu, 27 Sep 2018 22:16:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3B8F2B938; Thu, 27 Sep 2018 22:16:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C8D132B92F for ; Thu, 27 Sep 2018 22:16:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6A2DB8E0002; Thu, 27 Sep 2018 18:16:45 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 679EE8E0001; Thu, 27 Sep 2018 18:16:45 -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 5681F8E0002; Thu, 27 Sep 2018 18:16:45 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by kanga.kvack.org (Postfix) with ESMTP id 2830C8E0001 for ; Thu, 27 Sep 2018 18:16:45 -0400 (EDT) Received: by mail-pg1-f198.google.com with SMTP id o18-v6so2447176pgv.14 for ; Thu, 27 Sep 2018 15:16:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:message-id; bh=XdtVFhGalCgJu2cE+mtb2KNUHxT3nOd6pX4ELslMmt8=; b=Ik4rZ8US/ZbujKhu8OX+Q/ScBspw/g/NniB3SEPFrhnEtRnBO7ontU+tRkD5uUPIYB 4nLXNwC3nr6uOxHk03eyY7b0wRGyLt1U2Cl/+mUYJRiewQOg+ycMejwPhZIv2Igu8DRR DsU8dfRKTrj8lDkxXg8LOqqdgzgPlmn5mjjbx5LGTiA8T/VedqPdnqxoD+7Lpb3hhELq Ydq3Jkq86lDukhQLs5Rmy5A9WPIdxDSqRS5lPsvDV8pTWBl3aER+UF6mq3QI9VtgIrV8 gfvLwiHl1on2ENopkFRqSU7R1BxFHeoTmArC/hvyOuZISTKoBqh9R7o6yOwJT/rKCTNU XQqA== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of yang.shi@linux.alibaba.com designates 47.88.44.36 as permitted sender) smtp.mailfrom=yang.shi@linux.alibaba.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alibaba.com X-Gm-Message-State: ABuFfoi3tq5+zl9RfZVgO5Y48qY/Ot5qZ9CCBE34YIcG0WrhjNN1pu3X 6ESdXYHmOkXbGrsBdaPKqP/ipnPdCaEjgVcezZJjTYCUg1jGdLJWEFNXwkPjyzuqejWVsjxTCG4 4g28IbT4HhVy0uXVpRzToLI+tQsB0riQy4GzDj90f0WsSSamyCEw5e+MOkRVY3/JzYg== X-Received: by 2002:a63:9855:: with SMTP id l21-v6mr6461259pgo.162.1538086604841; Thu, 27 Sep 2018 15:16:44 -0700 (PDT) X-Google-Smtp-Source: ACcGV61ES06ATN+jk2CkrCmMFjssvZoL0LwubvLXc+e3tUJDDAMhE0IeOIx7BV6HtD1qgsAaWsmV X-Received: by 2002:a63:9855:: with SMTP id l21-v6mr6461194pgo.162.1538086603655; Thu, 27 Sep 2018 15:16:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538086603; cv=none; d=google.com; s=arc-20160816; b=1EmgIIh0SYHV07Y9U2Ir1Wjy3VzdX+XPrpaHJsF3PvnSXYUZHytemzeLq+4ATn/H5o PZBz5PigYbvgLgCQhQCBeyVXGObdjwcqsNGzIDRBV5FMuUJKV5Eu1FK7Njf5IyEvvF9q Z8BeeergnzGFCckUO3KkBZAP7CsuBdSYzPz8wULbmIoFNmNoxSS8s6g2JG1i+bfc2Xdr NHlDvf/TXQay1vCmUfmrgW+WvGyJamvrPwqJQgO59RVh3VXB7cnZGbWCWyFX9R3o55ny 7svi8kGpxsfls3MlBNrApJ9X3JrpGL8ZicFkNAiz8yP3JfE4m2YVv0G+gd2W6h05edYQ /ZGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from; bh=XdtVFhGalCgJu2cE+mtb2KNUHxT3nOd6pX4ELslMmt8=; b=J00D+Ij9CKi7wnDVfyUJEZ/No9LrC2BCXBtNmYwIZ3eHOlOQHN7z89vjUovEueAcfp jOQInk+N7zEx++GX1kslKmL6quodL086oIatQ8wN408i0EYTVRfTRmtXQvb89OdH0k50 COvtkyXj6GHle8YOupvsPovmiMb8YOohOavZ429Gs2+kIHMcxIK7Qkdb5LIoWZVn7YKK hTFh4/SINQaX2gMpFNUMNKMc2o9AcLOp6v+3S/Ks/QwFH/5vOpc+UkrNsWzywndxB1X4 lyXfoTb5I2bg955Xq4b4HIdwJ75dwoSEOOr2u9urjpAj+g7u49yDMfN5YaIDS8FRDP8o MBfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of yang.shi@linux.alibaba.com designates 47.88.44.36 as permitted sender) smtp.mailfrom=yang.shi@linux.alibaba.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out4436.biz.mail.alibaba.com (out4436.biz.mail.alibaba.com. [47.88.44.36]) by mx.google.com with ESMTPS id h1-v6si3027014pgs.493.2018.09.27.15.16.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 15:16:43 -0700 (PDT) Received-SPF: pass (google.com: domain of yang.shi@linux.alibaba.com designates 47.88.44.36 as permitted sender) client-ip=47.88.44.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of yang.shi@linux.alibaba.com designates 47.88.44.36 as permitted sender) smtp.mailfrom=yang.shi@linux.alibaba.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alibaba.com X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R911e4;CH=green;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e01429;MF=yang.shi@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0T9b-h7p_1538086549; Received: from e19h19392.et15sqa.tbsite.net(mailfrom:yang.shi@linux.alibaba.com fp:SMTPD_---0T9b-h7p_1538086549) by smtp.aliyun-inc.com(127.0.0.1); Fri, 28 Sep 2018 06:15:55 +0800 From: Yang Shi To: dan.j.williams@intel.com, akpm@linux-foundation.org Cc: yang.shi@linux.alibaba.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [v2 PATCH] mm: dax: add comment for PFN_SPECIAL Date: Fri, 28 Sep 2018 06:15:49 +0800 Message-Id: <1538086549-100536-1-git-send-email-yang.shi@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 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: X-Virus-Scanned: ClamAV using ClamSMTP The comment for PFN_SPECIAL is missed in pfn_t.h. Add comment to get consistent with other pfn flags. Suggested-by: Dan Williams Signed-off-by: Yang Shi Reviewed-by: Dan Williams --- v2: rephrase the comment per Dan include/linux/pfn_t.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pfn_t.h b/include/linux/pfn_t.h index 21713dc..d6cc4b5 100644 --- a/include/linux/pfn_t.h +++ b/include/linux/pfn_t.h @@ -9,6 +9,8 @@ * PFN_SG_LAST - pfn references a page and is the last scatterlist entry * PFN_DEV - pfn is not covered by system memmap by default * PFN_MAP - pfn has a dynamic page mapping established by a device driver + * PFN_SPECIAL - for CONFIG_FS_DAX_LIMITED builds to allow XIP, but not + * get_user_pages */ #define PFN_FLAGS_MASK (((u64) ~PAGE_MASK) << (BITS_PER_LONG_LONG - PAGE_SHIFT)) #define PFN_SG_CHAIN (1ULL << (BITS_PER_LONG_LONG - 1))