From patchwork Fri Dec 6 19:48:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Xu X-Patchwork-Id: 13897670 Return-Path: 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 DE675E77173 for ; Fri, 6 Dec 2024 19:48:44 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7482C6B02D9; Fri, 6 Dec 2024 14:48:44 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 6F7486B02DA; Fri, 6 Dec 2024 14:48:44 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5BF2D6B02DB; Fri, 6 Dec 2024 14:48:44 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 3D10F6B02D9 for ; Fri, 6 Dec 2024 14:48:44 -0500 (EST) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id E468741F5A for ; Fri, 6 Dec 2024 19:48:43 +0000 (UTC) X-FDA: 82865571222.22.6225FB9 Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by imf10.hostedemail.com (Postfix) with ESMTP id 8AF55C0002 for ; Fri, 6 Dec 2024 19:48:34 +0000 (UTC) Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=chromium.org header.s=google header.b=EQGqR7Tz; dmarc=pass (policy=none) header.from=chromium.org; spf=pass (imf10.hostedemail.com: domain of jeffxu@chromium.org designates 209.85.216.43 as permitted sender) smtp.mailfrom=jeffxu@chromium.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1733514514; a=rsa-sha256; cv=none; b=k8RXDQLyZQ+rivmMv35JYKyJK7XP0U8nPYz3o1ivsfcBhpGAHZ/AskV8f3te4NjHw+UtF5 lEzGNuTlhFPmXv9J7G8PU1nkby0eBupNwmGNrq0dTdgEtoeEwl5Cb9pnkEoc11nb+GJafD Q3KvQPScsCAsDX7W45ZS88n3qGLWLCU= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=pass header.d=chromium.org header.s=google header.b=EQGqR7Tz; dmarc=pass (policy=none) header.from=chromium.org; spf=pass (imf10.hostedemail.com: domain of jeffxu@chromium.org designates 209.85.216.43 as permitted sender) smtp.mailfrom=jeffxu@chromium.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1733514514; 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:references:dkim-signature; bh=zWHOSFnp6YO+lsoFcP0qwFbbFIGSFxBuBWk/HmNV+8A=; b=Wnn/EsPDVuCXZXc8tCejMfw8L4MCSsBbGexJoZcvzyWrsyfNguNjRhiy/BtOielYV18/za 7SOz4bYeoyhmYwce8Nf7/CNAvi9sS+NJ29RuBOIL9D5BNnCpaUQxO6yqvnLrZWo1+ZQkQE iAVCJRUY25D7p7ROjsTNwVyxDFChzFY= Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-2ee8ecb721dso332333a91.3 for ; Fri, 06 Dec 2024 11:48:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1733514521; x=1734119321; darn=kvack.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zWHOSFnp6YO+lsoFcP0qwFbbFIGSFxBuBWk/HmNV+8A=; b=EQGqR7TzGjIXcNPAsK65XigHS4at/WW6BHBhEb6bI7BMhBoeqqhV8OmtWNAPz+TmII NxkcL8BmzGn+y7RVM9ZDx9xtU3sPK5372KyXAt6bjLcw0GDrOAd2Iak5Vr1YwGGKspBh Q9j/Eibj5KSlUfjAeyxXDaFsrz2T2OyCisXVA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733514521; x=1734119321; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zWHOSFnp6YO+lsoFcP0qwFbbFIGSFxBuBWk/HmNV+8A=; b=UOwKxeBl7rCSvP9oUA0D2OseyCUf92+3FLYPsI4xrdJySXv+IJsQAxIFPsIjftgpdh 9dtlubjCKvfqeNAwNUPmspb/gV+wn+QOJKcTSl+R+lIX8smYWYv10hElyKr6RNJSCLlO f1D4tlu2f9yQSciEhYPlSeUKxGMdGbAjZoA03TSkgKrbCQ+b26JvxccVg6ZVVmVxzqCU yI5vcnesem5rh7tDuA2YtIKeJysrpFGRH7DWHc6mcPAYo8EARCfIprYMMlV1BEK1pY9q dAmxUmkkCNT5zK4l2yvkoZN6KFWUafSjYvVIsqHoWlDPodO6ot6vCjul+MQntiMGGVoQ 9FXw== X-Forwarded-Encrypted: i=1; AJvYcCWylwb2yhSCgfktfRpFnk652hxwnjNSSos6CsFlTu+WSekdtRP7/YYiCK3Aq3RAIHk9W85yYVo0dQ==@kvack.org X-Gm-Message-State: AOJu0YwVLRJJRrN+UY7kGl+FG3YOz702I8r8N5r0UsIHnxyIcXyHq18i WcAoLaPBHD42dcsEuL0bFgGufdMwrEGZ82S0/1Rc8qyGOB5oal9kYXdR+Wkuew== X-Gm-Gg: ASbGncsl61wqMEdZ19e24zbFJnnIcGiJwycf/+TmBsGvjkM8gE9oEzkansdvnIDZRN6 O3kdGW1p2z9f++TxRjMmLu812Pk8hPEWc77QLqnYNHERmuFtZxL6Ql+HdxljgVfMZ4BWY2iI+ob gnetNIAkHkZfOJGoGtk8oAqGWOsDt+55lMGAwShz4o9OTIhiVQZscDUSQqhhPfmN5USdheqofH/ x+vgKd7ZGKZzFqreT5ul63bzYGI4LyKn8Qtf1+S8wzAqVYWpT51HZ+y7TeDmedr2B6weFmLen2t g3lgmPtBNHk= X-Google-Smtp-Source: AGHT+IG65sTKlmsqpI7GdM3gNDUVOxz/ZHodlOQCUdzYHPngVaIbt2p5YZVSA9/sCstTA9tW0wBaJA== X-Received: by 2002:a17:90b:3910:b0:2ee:3fa7:ef23 with SMTP id 98e67ed59e1d1-2ef6ab23270mr2485494a91.8.1733514520663; Fri, 06 Dec 2024 11:48:40 -0800 (PST) Received: from localhost (238.76.127.34.bc.googleusercontent.com. [34.127.76.238]) by smtp.gmail.com with UTF8SMTPSA id 98e67ed59e1d1-2ef45fa64e0sm3536432a91.26.2024.12.06.11.48.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Dec 2024 11:48:40 -0800 (PST) From: jeffxu@chromium.org To: akpm@linux-foundation.org, vbabka@suse.cz, lorenzo.stoakes@oracle.com, Liam.Howlett@Oracle.com Cc: linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, linux-mm@kvack.org, jorgelo@chromium.org, keescook@chromium.org, pedro.falcato@gmail.com, rdunlap@infradead.org, Jeff Xu Subject: [PATCH v2 0/1] remove can_do_mseal Date: Fri, 6 Dec 2024 19:48:38 +0000 Message-ID: <20241206194839.3030596-1-jeffxu@google.com> X-Mailer: git-send-email 2.47.0.338.g60cca15819-goog MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 8AF55C0002 X-Stat-Signature: z5dkhdxggy6zf1pqyx97h8ywedh4ufti X-HE-Tag: 1733514514-179291 X-HE-Meta: U2FsdGVkX1/y4mvM0pa3dUXBo0CChVsY8ADfvPq0RXFKp55Ao4VPTJWskDUt+RThesF0iQVR70Uf60UFcI+VyIyHgp1/J7wbl3F+9Cfg5cKsX08kQToL/bKudk2krTdI9Jh91zc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G3uI71LX1cvHI7+aYOPnVUwFeXowK61ggY4zlB+ykEPYdgLtjTyV4G1MRs9MuEETufKzlMQOR+rhr8C89o6fzTWD/oKF2ZwIjRl29bcNqw6lTjsfcbAK5kafs2pxC/HdD2NHnRdEoQ97gDcCDMg== X-Bogosity: Ham, tests=bogofilter, spamicity=0.413886, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: From: Jeff Xu History: V2: remove the can_do_mseal (Liam.Howlett, Lorenzo Stoakes) V1: initial version. Jeff Xu (1): mseal: move can_do_mseal() to mseal.c mm/internal.h | 16 ---------------- mm/mseal.c | 6 +++--- 2 files changed, 3 insertions(+), 19 deletions(-)