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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 243D9EB64DC for ; Mon, 19 Jun 2023 10:48:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232151AbjFSKsX (ORCPT ); Mon, 19 Jun 2023 06:48:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231815AbjFSKsD (ORCPT ); Mon, 19 Jun 2023 06:48:03 -0400 Received: from out-8.mta1.migadu.com (out-8.mta1.migadu.com [95.215.58.8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C23F19BE for ; Mon, 19 Jun 2023 03:47:25 -0700 (PDT) Date: Mon, 19 Jun 2023 06:47:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1687171643; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yZKRBkZ0ttaMYNfcQAMNVdRDLq4DTvfw19IqRp9/498=; b=hhTLFaPHGLhjUPVUucumvTtPkGXXnl+DXMHskhBeT6Eb/n5enTSphDDjDJR4mvDm1HHFZn be5snaxlFRuFg47l9QnUy2rKCbMINg9UNFuPEq1XFrcgkPnAXPHNqXOcCawsFMe2NKNFPB Damiynm2hii9W4qhCoSnFdjRqUs/FV8= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Mark Rutland Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-bcachefs@vger.kernel.org, Kent Overstreet , Andrew Morton , Uladzislau Rezki , Christoph Hellwig , linux-mm@kvack.org, Kees Cook , Andy Lutomirski Subject: Re: [PATCH 07/32] mm: Bring back vmalloc_exec Message-ID: <20230619104717.3jvy77y3quou46u3@moria.home.lan> References: <20230509165657.1735798-1-kent.overstreet@linux.dev> <20230509165657.1735798-8-kent.overstreet@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Mon, Jun 19, 2023 at 10:19:00AM +0100, Mark Rutland wrote: > On Tue, May 09, 2023 at 12:56:32PM -0400, Kent Overstreet wrote: > > From: Kent Overstreet > > > > This is needed for bcachefs, which dynamically generates per-btree node > > unpack functions. > > Much like Kees and Andy, I have concerns with adding new code generators to the > kernel. Even ignoring the actual code generation, there are a bunch of subtle > ordering/maintenance/synchronization concerns across architectures, and we > already have a fair amount of pain with the existing cases. Look, jits are just not that unusual. I'm not going to be responding to vague concerns that don't have any actual engineering rational. > Can you share more detail on how you want to use this? > > From a quick scan of your gitweb for the bcachefs-for-upstream branch I > couldn't spot the relevant patches. I've already written extensively in this thread.