From patchwork Sun Nov 29 04:36:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amy Parker X-Patchwork-Id: 11938931 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_50,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05C47C64E8A for ; Sun, 29 Nov 2020 04:36:45 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 93B51206F1 for ; Sun, 29 Nov 2020 04:36:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YAQWSm+q" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 93B51206F1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvdimm-bounces@lists.01.org Received: from ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 41FA0100EBBB5; Sat, 28 Nov 2020 20:36:44 -0800 (PST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::230; helo=mail-oi1-x230.google.com; envelope-from=enbyamy@gmail.com; receiver= Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 899B3100EC1E6 for ; Sat, 28 Nov 2020 20:36:41 -0800 (PST) Received: by mail-oi1-x230.google.com with SMTP id c80so10588117oib.2 for ; Sat, 28 Nov 2020 20:36:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=soI2FbgRVVf7YiM5QpqBIyP2vOa5RD0uTn26wDJDuAw=; b=YAQWSm+qxF11VKwdEUOLxeNDv6v6atlFDk23YKjHQhpWs0949eFjvzU190A0TajDiZ svT4m5KElnXDTAgmJVrjbxPaer4OQ9xR9EONeyBezWSMg5beLgHJ/LvsFDHXXaS4BAC2 OtmW0Ho7RD/QKd58ZyZfmd+78whb3w/K5JhgnPEmf1ih1UB7HzkJGO7nEnKGRE7+2szd UIapCGEt2vvqeUGuuQ0RhsVWMiO7laiL7vcyLP+iHqCykgYFwr6YuDCWnn/92yQb8EV9 YaqW4TZbo5imfUF5GK2QY96Fxiv6debIbvwRz5x7nqLsVNOWj/5xwxP5aBDEf/9Epa5+ RBDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=soI2FbgRVVf7YiM5QpqBIyP2vOa5RD0uTn26wDJDuAw=; b=f03RbZju9rZauhxTh+DCNGbEwq8Lc60iqk43tqzQSLUg0YLormAtC5B9Gr9DDzhImG EB+aXXO2+Wcneai60CQVhtdzfyE2F+eH5M4u3rtxUq6287XXbv1fIKkyk3pHDcl5BcXx bYuHmVR6P1faD3K2iZk+kWhFsJeLvdnxUc8E8SakoO+3VkqMSEiQFP49XlS3F4zJn7Ws jxwnzhg+3jlZO4Xzt5cYsCvdKl1SWd9m5dEcR9V659a2hGshorjxEGtuwOdopGI5w4D/ EAFwNjRk4UZDIXqlJ9fqIleN77Ea7ySoSz7hGtxIEPLtubQKisz3Os/YXprCE9RjkikG QLVQ== X-Gm-Message-State: AOAM533obkm1Tex6duO8wWYUVBFdJ8SuaeeowRMUDBh8N04M5POpIbZt vr85HT+ZhYU6lb1uxFSi2+ub515kH5XozDOpKa4= X-Google-Smtp-Source: ABdhPJw2yKAioiKvOgEBz0/H2meynlNoPvLmKiPbKFeqneELTGWI8hBJojPX9/NNBv7/UhR0rkhroB254agWXvxD1Qo= X-Received: by 2002:a05:6808:2c4:: with SMTP id a4mr10661269oid.114.1606624600820; Sat, 28 Nov 2020 20:36:40 -0800 (PST) MIME-Version: 1.0 From: Amy Parker Date: Sat, 28 Nov 2020 20:36:30 -0800 Message-ID: Subject: [RFC PATCH 2/3] fs: dax.c: move down bit DAX_EMPTY To: linux-fsdevel@vger.kernel.org, linux-nvdimm@lists.01.org Message-ID-Hash: 6IL3GGEVMD2NPHVAKS3CPVYTCGHCBB3D X-Message-ID-Hash: 6IL3GGEVMD2NPHVAKS3CPVYTCGHCBB3D X-MailFrom: enbyamy@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Jan Kara , Matthew Wilcox X-Mailman-Version: 3.1.1 Precedence: list List-Id: "Linux-nvdimm developer list." Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: As DAX_ZERO_PAGE has been removed, DAX_EMPTY can be shifted downwards. Signed-off-by: Amy Parker --- fs/dax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/dax.c b/fs/dax.c index fa8ca1a71bbd..c2bdccef3140 100644 --- a/fs/dax.c +++ b/fs/dax.c @@ -77,7 +77,7 @@ fs_initcall(init_dax_wait_table); #define DAX_SHIFT (4) #define DAX_LOCKED (1UL << 0) #define DAX_PMD (1UL << 1) -#define DAX_EMPTY (1UL << 3) +#define DAX_EMPTY (1UL << 2) /* * A zero entry, XA_ZERO_ENTRY, is used to represent a zero page. This