From mboxrd@z Thu Jan 1 00:00:00 1970 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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 45280D1A427 for ; Mon, 14 Oct 2024 03:26:37 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4XRjLz5gksz30PD; Mon, 14 Oct 2024 14:26:35 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=139.178.84.217 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1728876395; cv=none; b=fHsR3CGnoNTu9vMwXYTB50QFwq/1FEWFC2uwaVhrMYuU302U5aWlIwKjQvH64JjaChlMzhU1MB6cMX3NhrfXeYePMTEILRIYN6uVaWMRk/v8MMBej7V56xem1saO27wuLqxpok66E2ui7MsHrUq/WP3q4k8YCi6CqUS4Wc9fJG9IjOfyEkrJOzO4PYg73ryTtBppYxCHFlNwMz4yu6A6bCU2kjcV/RJ3Vrs2+GYAMMAtX8eFzbmwKRYXjFI1V+1Xq4fW41ZuFDqSmRLajHj74Dn8er71o17kIazwqM8zi/QBMyLpw0cXqo7xycJb4NjWL6+AIZ5ifRddrBDJpxOv2w== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1728876395; c=relaxed/relaxed; bh=WCso5iYRziJUck2qEr2o5W95T62wWch4WEcH83mjQDk=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=UZBfbybwoaPAPpUhg1AX2eYV0dXJoX+RUyv2qRcsPusI6kKZ/pSKsSQbWnq+KutzGYLlP60c+f44iFFaCSXZGSoAVNf6ZJd2xpJRMGjyQO8K7oxsQ86kQuN1vdMy5+agBWHrjnutn+rAhsCCETcFqS3ZLy9MtXJ58NdYywAiJcXibpmTxrKap/Zn2Pr/vOdMJCacyLPHXWpFoHuV3rRiL7qVquEhzQM2CugOwDJPhqyPcWylwzTdPBj28iFXUYnpr5fS6IolH+a8T3h1Ku1qMWyMDO1kZJAH8Eu7JUaH8rFRbH4TA/oL6gOPiLgPw1PuGOAWCV4D/yNqysg+3Svc5w== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org; dkim=pass (1024-bit key; unprotected) header.d=linux-foundation.org header.i=@linux-foundation.org header.a=rsa-sha256 header.s=korg header.b=qTixcVvw; dkim-atps=neutral; spf=pass (client-ip=139.178.84.217; helo=dfw.source.kernel.org; envelope-from=akpm@linux-foundation.org; receiver=lists.ozlabs.org) smtp.mailfrom=linux-foundation.org Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linux-foundation.org header.i=@linux-foundation.org header.a=rsa-sha256 header.s=korg header.b=qTixcVvw; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux-foundation.org (client-ip=139.178.84.217; helo=dfw.source.kernel.org; envelope-from=akpm@linux-foundation.org; receiver=lists.ozlabs.org) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4XRjLy0QV7z2yVj for ; Mon, 14 Oct 2024 14:26:32 +1100 (AEDT) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 6AB375C55BB; Mon, 14 Oct 2024 03:26:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A751C4CEC3; Mon, 14 Oct 2024 03:26:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1728876389; bh=OYTP/1rnVlMgoHj5ReLaVqv3uJi7mKW1XAcNVGficbk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qTixcVvw7g3WJhbtvzuUfsX4xifF6FfeMa1/Jgt9Fz1P+9pRT0LjuXsF9ZPRLI0SQ 0YjCPAfHHkhZg2HwK0M7/hyF0QAETn0AmpsAYMB/N0iawqVPDDMLW9IdJaDIuO+7xa 37UFA5ONzpdACn1y2MXDIXwSekPMLBfeKmJmLlvM= Date: Sun, 13 Oct 2024 20:26:26 -0700 From: Andrew Morton To: Mike Rapoport Cc: Christoph Hellwig , Andreas Larsson , Andy Lutomirski , Ard Biesheuvel , Arnd Bergmann , Borislav Petkov , Brian Cain , Catalin Marinas , Christophe Leroy , Dave Hansen , Dinh Nguyen , Geert Uytterhoeven , Guo Ren , Helge Deller , Huacai Chen , Ingo Molnar , Johannes Berg , John Paul Adrian Glaubitz , Kent Overstreet , "Liam R. Howlett" , Luis Chamberlain , Mark Rutland , Masami Hiramatsu , Matt Turner , Max Filippov , Michael Ellerman , Michal Simek , Oleg Nesterov , Palmer Dabbelt , Peter Zijlstra , Richard Weinberger , Russell King , Song Liu , Stafford Horne , Steven Rostedt , Thomas Bogendoerfer , Thomas Gleixner , Uladzislau Rezki , Vineet Gupta , Will Deacon , bpf@vger.kernel.org, linux-alpha@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-mm@kvack.org, linux-modules@vger.kernel.org, linux-openrisc@vger.kernel.org, linux-parisc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-sh@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-trace-kernel@vger.kernel.org, linux-um@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, sparclinux@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH v5 7/8] execmem: add support for cache of large ROX pages Message-Id: <20241013202626.81f430a16750af0d2f40d683@linux-foundation.org> In-Reply-To: References: <20241009180816.83591-1-rppt@kernel.org> <20241009180816.83591-8-rppt@kernel.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Post: List-Subscribe: , , List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 13 Oct 2024 11:43:41 +0300 Mike Rapoport wrote: > > > The idea is to keep everything together and have execmem_info describe all > > > that architecture needs. > > > > But why? That's pretty different from our normal style of arch hooks, > > and introduces an indirect call in a security sensitive area. > > Will change to __weak hook. > Thanks, I'll drop the v1 series; The todos which I collected are: https://lkml.kernel.org/r/CAPhsuW66etfdU3Fvk0KsELXcgWD6_TkBFjJ-BTHQu5OejDsP2w@mail.gmail.com https://lkml.kernel.org/r/Zwd6vH0rz0PVedLI@infradead.org https://lkml.kernel.org/r/ZwjXz0dz-RldVNx0@infradead.org https://lkml.kernel.org/r/202410111408.8fe6f604-lkp@intel.com