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 6C66CC77B7D for ; Fri, 5 May 2023 06:09:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229661AbjEEGJu (ORCPT ); Fri, 5 May 2023 02:09:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229986AbjEEGJt (ORCPT ); Fri, 5 May 2023 02:09:49 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22951150EC; Thu, 4 May 2023 23:09:46 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 200BD68B05; Fri, 5 May 2023 08:09:42 +0200 (CEST) Date: Fri, 5 May 2023 08:09:41 +0200 From: Christoph Hellwig To: Matthew Wilcox Cc: Andreas Hindborg , 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, 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 01/11] rust: add radix tree abstraction Message-ID: <20230505060941.GA12147@lst.de> References: <20230503090708.2524310-1-nmi@metaspace.dk> <20230503090708.2524310-2-nmi@metaspace.dk> <87wn1ns7kt.fsf@metaspace.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: rust-for-linux@vger.kernel.org On Fri, May 05, 2023 at 06:28:04AM +0100, Matthew Wilcox wrote: > But the radix tree API is simply a different (and worse) API to the > exact same data structure as the XArray. Using the XArray instead of > the radix tree is still an apples-to-apples comparison. And if he wants to do a 1:1 comparism, just convert null_blk to xarray, which would actually be more useful work than this whole thread..