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 01032C32772 for ; Mon, 22 Aug 2022 16:35:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237092AbiHVQfX (ORCPT ); Mon, 22 Aug 2022 12:35:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237072AbiHVQfT (ORCPT ); Mon, 22 Aug 2022 12:35:19 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82B06402DA for ; Mon, 22 Aug 2022 09:35:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=domgJmoasu517o7hiFT4zNTeyrBIkqaCSkQfvyZKNLU=; b=Tw6p8M7RyStV6wNAy4O/dgD1py vI8mWyvL8CibdIqBsMEyXMNElgEzEZzixMUTD1yqPToWVT4My1huMvirgeF4lJUU5e/ZYxIxjGSY0 GY6xPkvT9xuSeg8W5uVzCTaadKsGTBBjILbTTk/LauSnfKVHgnmyNAiYQJn6iWdHI/iQ7LHyq9rzH JpHZsX94o3vxhZqy4sBuGG29P/OBozfvajJYze24by72NxUj9h0TZaZodcHTXjeNqYrDPCZpoqK/k 0VcjMjhK5v10GI0aiBeGHcbp1nnQBO8er4IClskwoSrLFzWx7fzKY+aSGHeUyEQ0v887I1c5MdEcw BI9FOegg==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=worktop.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oQAO7-00EShX-Qn; Mon, 22 Aug 2022 16:34:55 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id DDD109804A3; Mon, 22 Aug 2022 18:34:53 +0200 (CEST) Date: Mon, 22 Aug 2022 18:34:53 +0200 From: Peter Zijlstra To: Song Liu Cc: Linux-MM , lkml , Andrew Morton , X86 ML , Christoph Hellwig , Kernel Team , "Edgecombe, Rick P" , Luis Chamberlain , Dave Hansen , Song Liu Subject: Re: [RFC 0/5] vmalloc_exec for modules and BPF programs Message-ID: References: <20220818224218.2399791-1-song@kernel.org> <4D089469-B32B-4347-A811-B1E5EE011307@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D089469-B32B-4347-A811-B1E5EE011307@fb.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 22, 2022 at 03:46:38PM +0000, Song Liu wrote: > Could you please share your feedback on this? I've looked at it all of 5 minutes, so perhaps I've missed something. However, I'm a little surprised you went with a second tree instead of doing the top-down thing for data. The way you did it makes it hard to have guard pages between text and data.