Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp388407rwr; Thu, 4 May 2023 21:37:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4EMxNEfaL7z+f9J6EATBTcJBZlht34//pS2Vn5W58PhdI5XAaafzyi9lHJUX3nF4tovkUq X-Received: by 2002:a05:6a00:10ce:b0:63d:24e4:f9c with SMTP id d14-20020a056a0010ce00b0063d24e40f9cmr744834pfu.17.1683261429451; Thu, 04 May 2023 21:37:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683261429; cv=none; d=google.com; s=arc-20160816; b=olqbz3WU+a6T/2CNI7DPjaZy1Voc5OnB5J2WqV3e5uKqV/JCrbGNVBiBXRJjZYapoE RAVrC/JARtgOMeec7Gmj+dkd/kBGURPqIvrn2fch9QacwwEnXJzTslpbWtFKCKpJno+p uETW702y54vi90MT63IZP/6wR2eqgUZ3Z8G4ExyJ4W5jt0FAe4Qgy/FIz5aJDK6fP3R6 WCeII2tb+LEOEyUE2TTRs01ZqOvtFNZxfKOKsCrD+mkjOC1kxzOvfy8OSpBrl33DryjQ /UmCtM3O90mtWYx3dS5WIyjqXLEqUKRdmbF88EGiso8GbOXlMQFbuwU/2vnskHjtClxc aCcg== 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:date:dkim-signature; bh=F8SyAx82elMQX9OByRGapXDLinwDYRK6kS/ZTry4wr8=; b=NZOG0lRRUvecA2QnVxxr+LgFs7jY4lXuzCgJ5sYR6whTpD8Y6LsoQS3hAM1a3G7C0a XsdjYOEHlwh0Bdkl5xs1OsvXiWO5CQnp9dIti0BcEkldTMRefQ8cKGt7gPMKdcdwYnsG rQXWPPSp5yY9u5ez+oh/YrzhxcYhiJkc+ZtEqIGeA28q0YRQSu+IJl2XxGVwbcu99jhx WLdVhx0m686qfP3fF4xwt868rLC7LbvuorqEv9Ka/Ho02Id8hEqDwAKHn653Vkf9Tt1D qSejvi6PjLyRSGIMKRrBmRVbyyC5r/JZKOZxB/HjGU8T7SORCf8giOWTww4nHm82U3vY 1/NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="Ta9uMF/y"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b19-20020aa79513000000b0063afb349e8fsi1207351pfp.141.2023.05.04.21.36.54; Thu, 04 May 2023 21:37:09 -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=@infradead.org header.s=casper.20170209 header.b="Ta9uMF/y"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230193AbjEEEKH (ORCPT + 99 others); Fri, 5 May 2023 00:10:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229955AbjEEEKD (ORCPT ); Fri, 5 May 2023 00:10:03 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1C1C8A7D; Thu, 4 May 2023 21:10:01 -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=F8SyAx82elMQX9OByRGapXDLinwDYRK6kS/ZTry4wr8=; b=Ta9uMF/yR+y+mnLc/ox7u+hEt2 5yyTafQgjAzh8Tux3N78t/Anxy5qydrVGF9sN/bQ5NH89n0UX7EX4ESeDYLzu7m4IfHDh0NiX0hGH la4h4RoadM1QFaLht0La36rUs2hFpAMNQGTmg3S+kA811pKbJCFKLMrWyOrWDrObpD+Ibwdy4nhIB IYLFJmfq8opJygHOlz96f97svjei7nxazfSIy7bQeHpr8ey1fVvorML4a2rBoO2TY1RoWZnEXCnhj 3tXZUwcRgTKNc3pPlOHqJ6JZAMMQoaihm8qyZs2sUrcZ4I/y/K78G0PZ2R+lJSOXsv4Oz0BByWNR4 56aGWv6g==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1pumlU-00BDYI-Nn; Fri, 05 May 2023 04:09:52 +0000 Date: Fri, 5 May 2023 05:09:52 +0100 From: Matthew Wilcox To: Andreas Hindborg Cc: Jens Axboe , Christoph Hellwig , Keith Busch , Damien Le Moal , Hannes Reinecke , lsf-pc@lists.linux-foundation.org, rust-for-linux@vger.kernel.org, linux-block@vger.kernel.org, Andreas Hindborg , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , open list , gost.dev@samsung.com Subject: Re: [RFC PATCH 02/11] rust: add `pages` module for handling page allocation Message-ID: References: <20230503090708.2524310-1-nmi@metaspace.dk> <20230503090708.2524310-3-nmi@metaspace.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230503090708.2524310-3-nmi@metaspace.dk> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,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 Wed, May 03, 2023 at 11:06:59AM +0200, Andreas Hindborg wrote: > From: Andreas Hindborg > > This patch adds support for working with pages of order 0. Support for pages > with higher order is deferred. Page allocation flags are fixed in this patch. > Future work might allow the user to specify allocation flags. > > This patch is a heavily modified version of code available in the rust tree [1], > primarily adding support for multiple page mapping strategies. This also seems misaligned with the direction of Linux development. Folios are the future, pages are legacy. Please, ask about what's going on before wasting time on the past.