From patchwork Thu Sep 27 19:38:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Shi X-Patchwork-Id: 10618519 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 72A8C913 for ; Thu, 27 Sep 2018 19:38:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 651D22B96F for ; Thu, 27 Sep 2018 19:38:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58F0E2BC21; Thu, 27 Sep 2018 19:38:54 +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 054812B96F for ; Thu, 27 Sep 2018 19:38:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 652F58E0002; Thu, 27 Sep 2018 15:38:32 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 602D78E0001; Thu, 27 Sep 2018 15:38:32 -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 51A478E0002; Thu, 27 Sep 2018 15:38:32 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by kanga.kvack.org (Postfix) with ESMTP id 22D038E0001 for ; Thu, 27 Sep 2018 15:38:32 -0400 (EDT) Received: by mail-pf1-f200.google.com with SMTP id i68-v6so4217685pfb.9 for ; Thu, 27 Sep 2018 12:38:32 -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=EZIE5FAotmpELIySAlebRY7NCjqXQuQu+g4ZXo7hdNk=; b=s/wwoeY6I13RYt2F/ZrzgPcrh1WqtbUZjGI3TElmZ9WoOTbMN4/+/LIzPWxdDWzHb0 uPHYyqj3uNqHIbLz7/MysZ3jLsf7q0Jx5c8kcCJZbvOLCLRDL60dWM1kff1T6g4zRarV PNCnUwqOVxHWHwfulnlYktxejoSQZ6K7GfDfYfY0O5DfBS3J8GvEyywY3X6ll6Ph3LjB RT6oLKqH9hksyNFy0cRmjLjkWrAtMdJutBBmNRVfJbDkE3blNZGI27LIYhzIsI9YU3af PegHdZ9+xpaAbBKARKMHhHQfdUoC/AzFY0l2M4Xm9CEAq3VidbrRYQO2dzm5EW+OLrFs mFdA== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of yang.shi@linux.alibaba.com designates 115.124.30.130 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: ABuFfoihbMbXO/HH2BnhuPvH/KlCfPILV7ZOdSWlmwsO8ySsNs4/Oe4s zEBApYEQegWsQggEv83hvp0PsKphz+ENJ6ab5yNwdt3hn9kYi1lAzHCjGhWxOQcNQCQ5aZGrROX yOE4MA5ZiQfjROJ/oaGpgo2yY99jHRjQhQCLkinEXrPl6+2BjGCymFffLF9UnAB9g1A== X-Received: by 2002:a62:21d1:: with SMTP id o78-v6mr8004874pfj.235.1538077111772; Thu, 27 Sep 2018 12:38:31 -0700 (PDT) X-Google-Smtp-Source: ACcGV61c/Yflm5pXdBja7jtvy3kYdshKPShIUoHHGS6BH3+aC8IZRmqNdy2nXQttm+iYV2wcuW6W X-Received: by 2002:a62:21d1:: with SMTP id o78-v6mr8004780pfj.235.1538077110525; Thu, 27 Sep 2018 12:38:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538077110; cv=none; d=google.com; s=arc-20160816; b=FKyVFi9Naf+21thrv8KLZOPNkXKEk5VJ4+y9awldh6W669M3RO3vUPkmsthx8J8GPe EeWL1WLLG+Wi4L0GicknFPJgsvnNc4x5xA5By1F0r+kS/p0D9skYxkZFfgW4jBTcpJBS rtZ+z1XjkVAohjT3IVN9nwvIXrHmfZ+K8DwpTHtgWbaGyRIV7aXWLCVv3cwGbB6P465U ZDmVQ+r6fXdPBSun9dAyq6B4ET3uM/6Ktt9hB78a78dU1GW5OVQN1d8nJ1sweQ9Q/6Ra YwstYE4ignGqzXBB7jf6qHx4M8sQPfpX5iAiSxGQfDHodj1ZIjjkkJ3lnranKPnyY0OW R7gA== 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=EZIE5FAotmpELIySAlebRY7NCjqXQuQu+g4ZXo7hdNk=; b=o7INsg1Z4iDCu9zKubBaV8mSHnl0d3GGxPxTPJX8BQnX15S7aupsQmDqaiLgCVvUR8 Rt+WwMy0SbOEXTIpXksZNF1y3Db2k2dyrs7IYP7bnDT7dR2vMdvkOy29Mq0zgK/Tm9gz IIxZJn8iXUjPUlF3fcJOs/n+4KdxxE/SKwDtRA3IjC/iaE4/PVv63oZF3tP22mLDPqvb B9sNQJrbkdfdsfzdR8X+H5cSFu3o2CyK4nE+soGSNJjmJL3szuMKKwbf1mIf71RpJyAf uDrRf71GpI6xe8mDGDJ08Z2wtrIY88/9e4ic6E3yjajEuUkTiZEAP64stSxSQFWlCsVe gHew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of yang.shi@linux.alibaba.com designates 115.124.30.130 as permitted sender) smtp.mailfrom=yang.shi@linux.alibaba.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com. [115.124.30.130]) by mx.google.com with ESMTPS id i13-v6si2534924pgo.128.2018.09.27.12.38.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 12:38:30 -0700 (PDT) Received-SPF: pass (google.com: domain of yang.shi@linux.alibaba.com designates 115.124.30.130 as permitted sender) client-ip=115.124.30.130; Authentication-Results: mx.google.com; spf=pass (google.com: domain of yang.shi@linux.alibaba.com designates 115.124.30.130 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=01201311R181e4;CH=green;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04357;MF=yang.shi@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0T9aYYqz_1538077089; Received: from e19h19392.et15sqa.tbsite.net(mailfrom:yang.shi@linux.alibaba.com fp:SMTPD_---0T9aYYqz_1538077089) by smtp.aliyun-inc.com(127.0.0.1); Fri, 28 Sep 2018 03:38:15 +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: [PATCH] mm: dax: add comment for PFN_SPECIAL Date: Fri, 28 Sep 2018 03:38:09 +0800 Message-Id: <1538077089-14550-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. Cc: Dan Williams Signed-off-by: Yang Shi --- include/linux/pfn_t.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/pfn_t.h b/include/linux/pfn_t.h index 21713dc..d2e5dd4 100644 --- a/include/linux/pfn_t.h +++ b/include/linux/pfn_t.h @@ -9,6 +9,7 @@ * 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 - indicates that _PAGE_SPECIAL should be used for DAX ptes */ #define PFN_FLAGS_MASK (((u64) ~PAGE_MASK) << (BITS_PER_LONG_LONG - PAGE_SHIFT)) #define PFN_SG_CHAIN (1ULL << (BITS_PER_LONG_LONG - 1))