Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1688544pxb; Fri, 20 Aug 2021 11:22:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVQE4lmpR6Hx9Kj/ERxOy/g+okGLF8DBc8p2urcorF9DEbV+cVVOiKcev5N3TtzV33uLHf X-Received: by 2002:a6b:7d0c:: with SMTP id c12mr16775807ioq.187.1629483746039; Fri, 20 Aug 2021 11:22:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629483746; cv=none; d=google.com; s=arc-20160816; b=RWtsjwa4mEGGReMG7ei4hYzLDmRsPNX0EfsFTvUChB/48VPVa2fkTwmqlNiMqvp3iC wseL2Kmcag5gBGZ9NTgJ829jBmJORyx8YcBmsgb8WsjXHwA5V+TmZBH7QtFPJh19N3ln KF4gnZ3LKPoGWG0S3sMboOHnbLQXNawEHymWcRsht2obC1VIZrGTYrQH7rLjAZkvRE9N 2V0unBXnmnYb+S4UhkFPX0SUGTXi9uY203FqGklP823MiLYi6fmm4CLGg4Em2j9ZsAXK b0xRtY67WVK9B0dcxQuXK4ttGZDdLa+gsFSHRiAl03RBDS/0KUapW9Ls64lJIchETNu4 x0Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=9JVHkDxsNXqM+AkG0IvBai65VUmsFHfOhsqFADKQkCk=; b=Z5hvmLSOGEm/wndSavMs6esG8I3SkOHVuU2eyPYXmCWDcpTSQYSMLLFI/qKv5G5hLr GHVTHBSl38UfMCUVa1qlOwXKqfn1560DW8pwa5SYbY0p7ecDDhRAhu5hVSeuUb8kb+YF xYe/MjyxMv7Pf6VdYtr+8151VwmVa41SdXLK5R/3XHakNq3skZDrcxiqT83BjfhHt0fl MCqxGlacreInEAYd9IWHjMLJ5sXcIxl04eWhgtBszFtPDEy0XqVkOMzLoGQIZbZMQmxs HLR1zOBblk5XvStuH3jmUDRt57Ilm9vkP7UBLf3Blmtt+d1Vv0EPzJTxy0/PozTtdQrS B+ww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z12si8800451ilu.56.2021.08.20.11.22.14; Fri, 20 Aug 2021 11:22:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235229AbhHTSUj (ORCPT + 99 others); Fri, 20 Aug 2021 14:20:39 -0400 Received: from mga05.intel.com ([192.55.52.43]:22456 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237758AbhHTSUN (ORCPT ); Fri, 20 Aug 2021 14:20:13 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10082"; a="302407811" X-IronPort-AV: E=Sophos;i="5.84,338,1620716400"; d="scan'208";a="302407811" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Aug 2021 11:18:47 -0700 X-IronPort-AV: E=Sophos;i="5.84,338,1620716400"; d="scan'208";a="533074712" Received: from yyu32-desk.sc.intel.com ([143.183.136.146]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Aug 2021 11:18:47 -0700 From: Yu-cheng Yu To: x86@kernel.org, "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, Arnd Bergmann , Andy Lutomirski , Balbir Singh , Borislav Petkov , Cyrill Gorcunov , Dave Hansen , Eugene Syromiatnikov , Florian Weimer , "H.J. Lu" , Jann Horn , Jonathan Corbet , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Peter Zijlstra , Randy Dunlap , "Ravi V. Shankar" , Dave Martin , Weijiang Yang , Pengfei Xu , Haitao Huang , Rick P Edgecombe Cc: Yu-cheng Yu , Axel Rasmussen , Peter Xu Subject: [PATCH v29 13/32] mm: Move VM_UFFD_MINOR_BIT from 37 to 38 Date: Fri, 20 Aug 2021 11:11:42 -0700 Message-Id: <20210820181201.31490-14-yu-cheng.yu@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20210820181201.31490-1-yu-cheng.yu@intel.com> References: <20210820181201.31490-1-yu-cheng.yu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To introduce VM_SHADOW_STACK as VM_HIGH_ARCH_BIT (37), and make all VM_HIGH_ARCH_BITs stay together, move VM_UFFD_MINOR_BIT from 37 to 38. Signed-off-by: Yu-cheng Yu Reviewed-by: Axel Rasmussen Cc: Peter Xu Cc: Mike Kravetz --- include/linux/mm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index 7ca22e6e694a..1d4e5012c27d 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -370,7 +370,7 @@ extern unsigned int kobjsize(const void *objp); #endif #ifdef CONFIG_HAVE_ARCH_USERFAULTFD_MINOR -# define VM_UFFD_MINOR_BIT 37 +# define VM_UFFD_MINOR_BIT 38 # define VM_UFFD_MINOR BIT(VM_UFFD_MINOR_BIT) /* UFFD minor faults */ #else /* !CONFIG_HAVE_ARCH_USERFAULTFD_MINOR */ # define VM_UFFD_MINOR VM_NONE -- 2.21.0