From patchwork Fri Sep 27 18:52:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Xu X-Patchwork-Id: 13814509 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 C8A7CCDD1D3 for ; Fri, 27 Sep 2024 18:52:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4CC556B0102; Fri, 27 Sep 2024 14:52:22 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 47B8A6B0106; Fri, 27 Sep 2024 14:52:22 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 31BEB6B012E; Fri, 27 Sep 2024 14:52:22 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 14A806B0102 for ; Fri, 27 Sep 2024 14:52:22 -0400 (EDT) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id A61E540DCC for ; Fri, 27 Sep 2024 18:52:21 +0000 (UTC) X-FDA: 82611413682.07.02038F7 Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by imf02.hostedemail.com (Postfix) with ESMTP id D5C698000A for ; Fri, 27 Sep 2024 18:52:18 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=chromium.org header.s=google header.b="dFOudyy/"; dmarc=pass (policy=none) header.from=chromium.org; spf=pass (imf02.hostedemail.com: domain of jeffxu@chromium.org designates 209.85.215.182 as permitted sender) smtp.mailfrom=jeffxu@chromium.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1727463048; a=rsa-sha256; cv=none; b=fdd3dMp8LhTrjSSG/rxJWtSrYHnowCPCXXUoSYEI4yVMWYd72mUMc+42UZOQ5B7++L4D1U +kEiCy+dFL3bQjQzn6F8/suVDEVVzibx/UQ5lTt+uUFjHpE2i2PdQPAKyMUYJXqETHkYRH C9wn1Y3p8HyfG0EQF1IhWU4KTj05SaA= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=pass header.d=chromium.org header.s=google header.b="dFOudyy/"; dmarc=pass (policy=none) header.from=chromium.org; spf=pass (imf02.hostedemail.com: domain of jeffxu@chromium.org designates 209.85.215.182 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=1727463048; 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=tjNTTjSP1D6OLEEAIGyE9s8gzDaTa6XxG0RsJUdZJBA=; b=V4FK8L8H07AGLrvRie8jlhb/Xcd8Tp2Py79ddhOFSTvxrWCZrFvRohh/MpyeExB1/UsMzA wX0yznM2p7oH37ULLJvS5JLRYpJkEbrYPCC7T7/1zHHIIKK9qkSoibux2vg1wYrUSAPd+1 YIvapfRJYXqAEXzK0tDyxodETDi8uRo= Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-7d50ac2e3f8so100128a12.2 for ; Fri, 27 Sep 2024 11:52:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1727463137; x=1728067937; 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=tjNTTjSP1D6OLEEAIGyE9s8gzDaTa6XxG0RsJUdZJBA=; b=dFOudyy/qAkUcnZvsgnFQpGSxpUORkH41cap5yBNTodfTW5iCSSnRNpz/DLAPEHQ2Q fgElUMF/MimhITm9dFEzc7E2QTcd9kAFQmPlGHbrcMhAK9vW87LzpAfgJdvhuRFAjCLc ffawEbOTxGZ0ZELNevbnlFvajjXMiKrm7CJYo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727463137; x=1728067937; 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=tjNTTjSP1D6OLEEAIGyE9s8gzDaTa6XxG0RsJUdZJBA=; b=kgCEGtGo9TT571ic6bFUIRPkuIWrLyeFJ8B5it3LgxPM3f88otI41AmkS4tBp8wwJT 8gbwgfRXJdfOGKLcbFVjwZZArQIi2M5cC2CP83Ydz7c7BJ6bQ7PhVMa/+Q9wwAPMNWFS n+h1yiaA3Fl3CmNLAKnRBxfCpZCn6xoekKnrRrgNkZL/xtZm3myu5++Tzt8qhu73luCc 6qQJ0wyfnssLXtHM7rvcX9gi6SH4Blfwj0kGtHkq3lWs0LaV0A8FPb4PCdvKN4+wslfu 9BnaZCehZi4PPNLY8EvTyTSqLLKRqoAgTh6jv1+311axomgT0AzZmT1G8qGdz6jEKqXX ss2Q== X-Forwarded-Encrypted: i=1; AJvYcCXKqgcpzN0JaJepSDmQzjywIBjRiPN3fVhrf8XPDvlxSz2oYxlML1yE+DnL2sw3zYZULId0kr5qvQ==@kvack.org X-Gm-Message-State: AOJu0YzhCqitOPuUGtrjNJz+iOM7nLZ5FpPq+swH3Rw0y1ZZ6WTW1Ndc 5QjI34/le8LvkW0ZIbsb8dxYLgxWQIXWMW/BhtXwY93Er3w1U9U9UvIEqmcRZA== X-Google-Smtp-Source: AGHT+IF0HtH1+PEmCntzA1h5vec66p92JMnSHwfX+hTVjrGe8VMsda+UKDIBB/ShNgo5UqX48lyoGQ== X-Received: by 2002:a05:6a00:b85:b0:70d:2c09:45ff with SMTP id d2e1a72fcca58-71c636f23c9mr339784b3a.4.1727463137261; Fri, 27 Sep 2024 11:52:17 -0700 (PDT) Received: from localhost (99.34.197.35.bc.googleusercontent.com. [35.197.34.99]) by smtp.gmail.com with UTF8SMTPSA id d2e1a72fcca58-71b265385fasm1922905b3a.216.2024.09.27.11.52.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 27 Sep 2024 11:52:16 -0700 (PDT) From: jeffxu@chromium.org To: akpm@linux-foundation.org, keescook@chromium.org, corbet@lwn.net Cc: jeffxu@google.com, jorgelo@chromium.org, groeck@chromium.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, jannh@google.com, sroettger@google.com, pedro.falcato@gmail.com, linux-hardening@vger.kernel.org, willy@infradead.org, gregkh@linuxfoundation.org, torvalds@linux-foundation.org, deraadt@openbsd.org, usama.anjum@collabora.com, surenb@google.com, merimus@google.com, rdunlap@infradead.org, lorenzo.stoakes@oracle.com, Liam.Howlett@oracle.com, enh@google.com, Jeff Xu Subject: [PATCH v1 0/1] update mseal.rst Date: Fri, 27 Sep 2024 18:52:08 +0000 Message-ID: <20240927185211.729207-1-jeffxu@chromium.org> X-Mailer: git-send-email 2.46.1.824.gd892dcdcdd-goog MIME-Version: 1.0 X-Rspamd-Queue-Id: D5C698000A X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: 9cqd8bqrs596oc4spmr8chwo778cdpzb X-HE-Tag: 1727463138-84570 X-HE-Meta: U2FsdGVkX18ILHeoChuRlXxE9ltagvJX7Lhm5LJAH/zKcLP2q2UmA3sySTyeYevvcHEjrBxl+0yMiroyPMKx1f7pSUc7HhmORGA/UypbD1oy77bch6KD01oBakCKfeeEJ002MbRQgZuFn1TWY3WLf5IGVzhrXrnqymP/RwgEqPiLERGfNmZglTFfD8hvAYvrzNpZQBxBVax4VV/Drf5ol8ZrScl/0hJdD6fABwo+sDFMtkPfYcTkJVKGYHDneZsa+Wx+nj1d3CfFI9+ImYolgD2OobUj9oNmbXjymSUCweZbz7UzRPeK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4Qx80exhw= 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: List-Subscribe: List-Unsubscribe: From: Jeff Xu Pedro Falcato's optimization [1] for checking sealed VMAs, which replaces the can_modify_mm() function with an in-loop check, necessitates an update to the mseal.rst documentation to reflect this change. Furthermore, the document has received offline comments regarding the code sample and suggestions for sentence clarification to enhance reader comprehension. [1] https://lore.kernel.org/linux-mm/20240817-mseal-depessimize-v3-0-d8d2e037df30@gmail.com/ Jeff Xu (1): mseal: update mseal.rst Documentation/userspace-api/mseal.rst | 290 ++++++++++++-------------- 1 file changed, 136 insertions(+), 154 deletions(-)