Message ID | 20231201094636.19770-3-laoar.shao@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id D665BC4167B for <linux-mm@archiver.kernel.org>; Fri, 1 Dec 2023 09:47:14 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 616F66B0446; Fri, 1 Dec 2023 04:47:13 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 43E456B0441; Fri, 1 Dec 2023 04:47:13 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2B7F76B0445; Fri, 1 Dec 2023 04:47:13 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 15C406B0441 for <linux-mm@kvack.org>; Fri, 1 Dec 2023 04:47:13 -0500 (EST) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id D1D5FC010D for <linux-mm@kvack.org>; Fri, 1 Dec 2023 09:47:12 +0000 (UTC) X-FDA: 81517771104.21.5C84BFE Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by imf12.hostedemail.com (Postfix) with ESMTP id 17EE540003 for <linux-mm@kvack.org>; Fri, 1 Dec 2023 09:47:09 +0000 (UTC) Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=iUsxj9F6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf12.hostedemail.com: domain of laoar.shao@gmail.com designates 209.85.214.169 as permitted sender) smtp.mailfrom=laoar.shao@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1701424030; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=7q7TZ/hQmcOsL5S8ofmt3CfzAuJJI0PuQ5alBSABkro=; b=FPSMUMF6WYJSPL6QDaG97H1JilXf0ynUpARUMl4W/aXBWMoFZ10mFUqee5933L1QdKx1KL bbU7GbN/IlREsdHW2Kv3S5UfRbcaLE4W18Ru4DoZVIkiPpgkVHSvjomh852Fl94eSEROWn YqjwYJpgNmxvIFYP+Ax704e/Mk5A/yE= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=iUsxj9F6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf12.hostedemail.com: domain of laoar.shao@gmail.com designates 209.85.214.169 as permitted sender) smtp.mailfrom=laoar.shao@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1701424030; a=rsa-sha256; cv=none; b=8HF6hNlTd7ttR1KfFlHxMAPOPMxWHRiKQCYQDJMSPWjBpMVsUMIHJ76o9qt0Rd2On+zNjN uaonBM5brOtdj/RsPIBwrHS0ysmOwGeyF4yfV6dGahZlFHgr2Z774cqBSMViSioSLaIVSi 8LV/PwDfReLAZjqhaMPKKYFidHz1hQg= Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1d01c45ffebso2937265ad.1 for <linux-mm@kvack.org>; Fri, 01 Dec 2023 01:47:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701424029; x=1702028829; darn=kvack.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7q7TZ/hQmcOsL5S8ofmt3CfzAuJJI0PuQ5alBSABkro=; b=iUsxj9F6ufPjx4PG/87lidFPmKjXsl63/1xt45a9HApA4TawMyoXZuD8pM6W7BORd/ jA3S4BW6Yb6FH1MZf63Xjzii1OwLH4AyGdg4Pjx9PXZ3Dv3O4I5yvqmSmoT0mJVAnHTO /zWSA7aPu2B9TbF8K4MKZowk1MS84F877OSdyg5fBDMfXNi8HpW/u3QfbBrC5liS7zDp P6HkuxaIunW4rnjuRYjYk3ZB/j7tKGkDg9O9zsJycSj4DtIgIYr1Fbh+BIkcZMA7eSMc WcVFhYONrRcDQ+xViHLFl8raLF+HIgHNQYuuUlgv6QM7GgZYwhofOqnFmPP7fYaZpYeP eZVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701424029; x=1702028829; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7q7TZ/hQmcOsL5S8ofmt3CfzAuJJI0PuQ5alBSABkro=; b=qXV+5LXS02lEDIoYMHy2vjhKg1lQ5mr0qqJIlR3iLXSu6z/6S78qNOacTbu4c6XXjA hqD9da3R4DyHO2ATCj+JRGPAIqLaCCYzwwa+AIq86OJ/SwtIG1IAWUThbx9QtL1c8uuW k/E5OZmDBXAC09caPhPfaomEwbY24ygDhtkcn/C+jbD2aLSWYK+Ba1SttNIiGAABYpak ijJJdDK93KVfalH7vfuv6VbBY1JmgK+rxVqdQW5t/Vw5t5M42SRaGeZ1eWZCGPgt1ON1 GiIAfIBy3AiDFheFiGXJxCgtH9EJNe5bIK7KUfYp4RSY+YVD04+E4VkLMYx4/VOKX1Lu MzaA== X-Gm-Message-State: AOJu0YxnAaEL2beuKLVaGxlRWOturjmMR3XgoEdOPMLwZ1Y0Vdwz1RBh cmHvHhisO7L11A0jbsKTtFU= X-Google-Smtp-Source: AGHT+IHY7BXr2lrItoDjy9fRRvCLOX0ey7rYRvBq4aXsP/3tg6wFqHDYposNzHDwQ5WVCd/30HQ5Hg== X-Received: by 2002:a17:902:c944:b0:1cf:a2e7:f843 with SMTP id i4-20020a170902c94400b001cfa2e7f843mr32499685pla.23.1701424028951; Fri, 01 Dec 2023 01:47:08 -0800 (PST) Received: from vultr.guest ([149.28.194.201]) by smtp.gmail.com with ESMTPSA id e6-20020a170902b78600b001bdd7579b5dsm2875534pls.240.2023.12.01.01.47.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 01:47:08 -0800 (PST) From: Yafang Shao <laoar.shao@gmail.com> To: akpm@linux-foundation.org, paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com, omosnace@redhat.com, mhocko@suse.com, ying.huang@intel.com Cc: linux-mm@kvack.org, linux-security-module@vger.kernel.org, bpf@vger.kernel.org, ligang.bdlg@bytedance.com, Yafang Shao <laoar.shao@gmail.com>, Eric Dumazet <edumazet@google.com> Subject: [PATCH v3 2/7] mm: mempolicy: Revise comment regarding mempolicy mode flags Date: Fri, 1 Dec 2023 09:46:31 +0000 Message-Id: <20231201094636.19770-3-laoar.shao@gmail.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20231201094636.19770-1-laoar.shao@gmail.com> References: <20231201094636.19770-1-laoar.shao@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 17EE540003 X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: q94qa1kb1raqoaqygbci3hig7iewpjci X-HE-Tag: 1701424029-332705 X-HE-Meta: U2FsdGVkX1+NPFXIpGPDcjj4fsYelfQOqizUEv4mU1KUmngBxNEkYQmUruzPtTOuP47/uE2HZ/QktJ3v09gnPhZePrMZYGbj1w4RGv93GX61/sDQSH/F4TLOgqdANg/+JbvQrx5kaXmt8VmpOZmBctm6AAnPpKnyguw8hr1dIc76YUwquEqahsWOJdTCIXuBn0vn94sM1G6DesKZ8D+zGj6YyVzrjIOnWOOtAqv/7XXT9nP6duQPvXva9Iu+oGp+dxS8aauz2bYfA/2bauQL0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hWh/nOVbO+sS6ZpQAA47UZkkil6O11EUfC482/II/40ZknVMbU4qp+eidZ6YJclp0jkppd6oCSoMsbytX6QW1MyVQJ6i3PqKVQfCVrOL+1GJsIKWympWcfntDnnL+qt/l08iOt6owE/b+sJgWXT0oCky8nBFwGnPTemY/HwagmDoqoRClEmey1HiuUKn7gayv0wyJmgSrNg+JcD+R3JD/tQZBxG9yfADIpelvPGvpw== 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: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
mm, security, bpf: Fine-grained control over memory policy adjustments with lsm bpf
|
expand
|
diff --git a/include/uapi/linux/mempolicy.h b/include/uapi/linux/mempolicy.h index a8963f7ef4c2..afed4a45f5b9 100644 --- a/include/uapi/linux/mempolicy.h +++ b/include/uapi/linux/mempolicy.h @@ -26,7 +26,7 @@ enum { MPOL_MAX, /* always last member of enum */ }; -/* Flags for set_mempolicy */ +/* Flags for set_mempolicy() or mbind() */ #define MPOL_F_STATIC_NODES (1 << 15) #define MPOL_F_RELATIVE_NODES (1 << 14) #define MPOL_F_NUMA_BALANCING (1 << 13) /* Optimize with NUMA balancing if possible */