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 5B41CC433EF for ; Wed, 15 Jun 2022 11:12:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238189AbiFOLMR (ORCPT ); Wed, 15 Jun 2022 07:12:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230055AbiFOLMR (ORCPT ); Wed, 15 Jun 2022 07:12:17 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB9304161A; Wed, 15 Jun 2022 04:12:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=S4tHN8z3zg9zVifU+IuPkwjdnUTQJaa5ZCrsc8j8qqc=; b=mBby1Np3IUv0dcOkuekKdHgWn3 jZ7FqheqinvmWSlL0QydGaSQ6ZQQ8vu0suRDsIQvhWLYpddnJ/890RoCZlyJMPHMyU3bggDWMqNdX lZKQbCU6j4VA0Z98EPNZDiKbTZgEeR9rGM9lhr3VegP+Tlgw18k7t7Ts/ntnbzf+FIg+wJ61v5HrA dKa+ofhAJDpN/avehssbwQU9dIlvmn/XtrnrS0GcUH8XYpspchJ6PzZj07El1Mf/YuO1zHf1sTabN n4qOHZIU37mj3VEulgFMABka7F/8Ur0E4uwl/iDmN4DnM7VOkTVFn5OPWJ3ldZgXrE6dYZfhnLvyn fI6si9hg==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1QwY-00E6Zd-EW; Wed, 15 Jun 2022 11:12:14 +0000 Date: Wed, 15 Jun 2022 04:12:14 -0700 From: Christoph Hellwig To: Brian Foster Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, ikent@redhat.com, onestero@redhat.com Subject: Re: [PATCH 1/3] radix-tree: propagate all tags in idr tree Message-ID: References: <20220614180949.102914-1-bfoster@redhat.com> <20220614180949.102914-2-bfoster@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220614180949.102914-2-bfoster@redhat.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Tue, Jun 14, 2022 at 02:09:47PM -0400, Brian Foster wrote: > The IDR tree has hardcoded tag propagation logic to handle the > internal IDR_FREE tag and ignore all others. Fix up the hardcoded > logic to support additional tags. > > This is specifically to support a new internal IDR_TGID radix tree > tag used to improve search efficiency of pids with associated > PIDTYPE_TGID tasks within a pid namespace. Wouldn't it make sense to switch over to an xarray here rather then adding new features to the radix tree?