Message ID | 20230123173748.1734238-17-shr@devkernel.io (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 1B189C25B50 for <linux-mm@archiver.kernel.org>; Mon, 23 Jan 2023 17:38:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 71E0E6B0095; Mon, 23 Jan 2023 12:38:42 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 6CCB16B0096; Mon, 23 Jan 2023 12:38:42 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 594766B0098; Mon, 23 Jan 2023 12:38:42 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 406076B0095 for <linux-mm@kvack.org>; Mon, 23 Jan 2023 12:38:42 -0500 (EST) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 200BE822E0 for <linux-mm@kvack.org>; Mon, 23 Jan 2023 17:38:42 +0000 (UTC) X-FDA: 80386773684.08.90DE730 Received: from 66-220-144-178.mail-mxout.facebook.com (66-220-144-178.mail-mxout.facebook.com [66.220.144.178]) by imf19.hostedemail.com (Postfix) with ESMTP id 7DA1F1A0015 for <linux-mm@kvack.org>; Mon, 23 Jan 2023 17:38:40 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=none; dmarc=none; spf=neutral (imf19.hostedemail.com: 66.220.144.178 is neither permitted nor denied by domain of shr@devkernel.io) smtp.mailfrom=shr@devkernel.io ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1674495520; 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; bh=GYQtk/S5fG1KUGiyaQMgcUYBq4HZdmgsoe9i0bSjtmI=; b=aOUvbAF+mC6sZVopo30a+Icdb0MBUKsuICxnbX/2AreX0f+v/w/9ItwpSpGN0f1KqgH7Y3 rM95R5Y1FvjJMDLU0T/Q/czUt6VKu4nmf5HgkKtfZkyE3oGXbf0YhWjJPqKx6X4h8t1KpH koDDvdDvolc5/QUQeJ1qExqQkQVTsxE= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=none; dmarc=none; spf=neutral (imf19.hostedemail.com: 66.220.144.178 is neither permitted nor denied by domain of shr@devkernel.io) smtp.mailfrom=shr@devkernel.io ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1674495520; a=rsa-sha256; cv=none; b=rDeGF1GjGaEy1qC1Uys1zXnnhC+VYvU0NBfdJo3TUWz+MfMsgWfIPnutOeyhJrlAubceTL hVMhgX21iJo5oaaJAfcHa/bA28UmW4Boq6JPvSLhSzuacAXdhJ/XgMNOICBlr/GRqVhaM8 V1njlqm+omyCTDJyJtLYY+G0A2BOO9c= Received: by dev0134.prn3.facebook.com (Postfix, from userid 425415) id 7FBAC5616BF3; Mon, 23 Jan 2023 09:37:56 -0800 (PST) From: Stefan Roesch <shr@devkernel.io> To: linux-mm@kvack.org Cc: shr@devkernel.io, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-trace-kernel@vger.kernel.org Subject: [RESEND RFC PATCH v1 16/20] tools: add new prctl flags to prctl in tools dir Date: Mon, 23 Jan 2023 09:37:44 -0800 Message-Id: <20230123173748.1734238-17-shr@devkernel.io> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230123173748.1734238-1-shr@devkernel.io> References: <20230123173748.1734238-1-shr@devkernel.io> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 7DA1F1A0015 X-Rspamd-Server: rspam09 X-Rspam-User: X-Stat-Signature: njqtkkqddhqbzfqixktbbs1pz78hngjy X-HE-Tag: 1674495520-907839 X-HE-Meta: U2FsdGVkX1+HPoatuLzVeHA7LYeOqzufPy1xTlmEC1Elm3Wen+wsaAysismT/AOinx8QiEsGcnjl1uXJc/au2JbtgHjMSfGnG8cBgfERCrXJ9DKDdvET1Yoq5vG8HXVG+xzbVl4cNQWwTY/owYIie8nhkR3IrkxTjb3KmOvj+laiTYtiUehDE6wXMWfekDMJm+lRZjfQzxglvcWejXd2RP9VFiB5p5oy/2JurADAr9QyhQpsmHVRbcYrwN+tXBkbJMc9WAiVmNXQATG0XbO0lxZqEmRUjpkZJgGGVU+Gup/RSdkFPIkKlCaRPNQO7tTDkDCwe10OPASQGo5ayddk4jHN17qFsu9mym2ykmlTi4DphTfpVZxspwUHNMN3o8zViSXfFd1jAuXCIDtTFsgAoFN6zlXYDwWgRYaE5yZCWTuWSb72NH7KxuJ93d6TGXDe94BnadARi0qpM6PFTkqwCAp8yptU+tSR8DSjAvvRzvTnhrYxOA0pq1Pd/noZERqkvtY1TLOS9MhwG2SjIj5ra7yib+fTl/BHcaXwetqXhVr9TbwytwPjsQzKvcUQPGcZgLj6HZNH4Z8sth2Nga2gFyOnt+E9UQQkCVPmorv+xq9mKf52xEjok8u9zPsEByEqn40nu/Ds9pnbNUqH4CIg8wrLYCPnFWd0ramVSjLRV8YG6c0Ru+dmMtrhy/lRHIHhi28khaEfxUlfilrGo2oNFfRWxIxGxAqDmRgUmWs/crCaEUMBXv+cF13PF5ACeQdDmj3fFKEBORmLiE94WixsMuq88QvMc69R9Jvwdh0Vn9X+88cQn+dAZYpv8LMlTyZj3Q6vnvWpUamZQ8yOHatYEdwvgk8V7qh2vzHvDgRsZG3Rqkt3bLbVR28Ws//0+kUXDpq0lmyQrq3nXikrAlmX/vUXHx3h8YDIbxGbX+vqCCEBLZdCOSijz36oK6nIEbWz5+doab4WqvmysIxigz6 PepO+P38 R4DPI/pPZ+aDPSh/elqjUomd6oaS98hq0/VCo6v/7YizGMZXB0DW0RjnUpQ== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000056, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
mm: process/cgroup ksm support
|
expand
|
diff --git a/tools/include/uapi/linux/prctl.h b/tools/include/uapi/linux/prctl.h index a5e06dcbba13..b8ba85f18e43 100644 --- a/tools/include/uapi/linux/prctl.h +++ b/tools/include/uapi/linux/prctl.h @@ -284,4 +284,6 @@ struct prctl_mm_map { #define PR_SET_VMA 0x53564d41 # define PR_SET_VMA_ANON_NAME 0 +#define PR_SET_MEMORY_MERGE 65 +#define PR_GET_MEMORY_MERGE 66 #endif /* _LINUX_PRCTL_H */
This adds the new prctl flags to the include file prct.h in the tools directory. This makes sure they are available for testing. Signed-off-by: Stefan Roesch <shr@devkernel.io> --- tools/include/uapi/linux/prctl.h | 2 ++ 1 file changed, 2 insertions(+)