Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6204364rwd; Mon, 19 Jun 2023 04:06:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5LVo/XRsBe9L5wmMdLWdwme1Je0vMgRPEcddlmeK72bH90ooTFpNS4C8W8vzBnoVyOv+Of X-Received: by 2002:a05:6a20:4304:b0:122:2e73:3f28 with SMTP id h4-20020a056a20430400b001222e733f28mr696896pzk.24.1687172775809; Mon, 19 Jun 2023 04:06:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687172775; cv=none; d=google.com; s=arc-20160816; b=eodR7lkgfT7tfHn34VynZDvs1nOsglj7EX98IkTtSTO46AQ3eurJJb8tC9F6iPrWjW x+O/IhG/yWEFwtIucOFcvuxtOpYABSfzoI6kG6CP0q1jEYmMS5QpTO2PpUdyyRfXTwXd r9Bg7SBO2YZmGCDVoRfGD0gE0qS/y8rKAgb/6P12sl23LKA6fOHYUiByAZwMIVJ7RRGY XvZnZoyRZPY8MW39AjOJsrTB3jCV7Etb3bnbD9vsq2ZuGDD9iQpbohzEHRkoZoKX0F1h msLHuU1sCEnZBVblSt85CWHoTjkHPAVbPMMzy2iRnY5y8k6JCmvGpa4GtXqC94cMTwi5 8KwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=yZKRBkZ0ttaMYNfcQAMNVdRDLq4DTvfw19IqRp9/498=; b=N8GDHTbgU3YMxew0NSSBDAi13v7tauyUJwBmlQXMek7MeHYgNMyXW6S8ijAw4MXPTL no8xZrL2NrZwnGR9vtdazT8HMg7LsTaR07dFvQP9AmNXOsMQzjrsHq9rCwaBMki82GsQ gaGXpPRjd5FLe3qSs/0+KXeyCLP8GoHRm8mf0yu/X1BNnzrbgAY2ZJ58QU37KRToyK5i TMpQH76FUf3qIXsYmoI9sr0BkdLhiW0C2jEC9dx9VRRsGuyzAhEUwJlSWDnuHd6lCF3X lhxo2XNE093f6LZEWoElBIURLYIzBHS4sQLQHK4GQPvcRiJJTf40brVkzcI5cycYuosT AI3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=hhTLFaPH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x10-20020aa79a4a000000b0064d2b0cc8f2si17705012pfj.150.2023.06.19.04.06.03; Mon, 19 Jun 2023 04:06:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=hhTLFaPH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231877AbjFSKsY (ORCPT + 99 others); Mon, 19 Jun 2023 06:48:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230389AbjFSKsD (ORCPT ); Mon, 19 Jun 2023 06:48:03 -0400 Received: from out-19.mta1.migadu.com (out-19.mta1.migadu.com [IPv6:2001:41d0:203:375::13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98C5F1BC0 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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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.