Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp385455iog; Wed, 15 Jun 2022 04:26:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZ2LWXicTgfLI3I3t7TzLeU5V/S/EKBAKrYOvU70H/oPXqM0ixxyVj18wPiGVaTvUa7TIM X-Received: by 2002:a05:6402:34c8:b0:42f:b59e:b98c with SMTP id w8-20020a05640234c800b0042fb59eb98cmr12189907edc.275.1655292379485; Wed, 15 Jun 2022 04:26:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655292379; cv=none; d=google.com; s=arc-20160816; b=cAS6UC4C3biccQqyJOSWmwVZGYsB7KOfRnFDoX81bU2lyQbXNzJOE0pKX/GRQNjQsb cPyTj27ShRviQYaG6tZ1r/RM9sCe+cJEJYXQQy0dB7P+wPy7WmYUAXRTM9Blyi5+Zhzz gsPQG+/C88/srXSFQgaGHRCfh0tGXmuLmP0Tw8gKw+0tRDx5nKReAd//ZG+kW3VAozJf b3Cx1NYWO1dp8VGm3oM/sCI8JlD9Saphc3bCuXHTqqPIwHj4Yh9KIHmRsfFwtqVB8+Ts q4u/Bf8w7Bx4WGLmlebV0fXCCmA38Nev63579LWYK7taqTFKOQ4KLrK1UjoOtNJ57MJ4 ihyg== 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=S4tHN8z3zg9zVifU+IuPkwjdnUTQJaa5ZCrsc8j8qqc=; b=WVSg/yAlkmpQN49QHfr7VAipgLLN9OUcQZ6hClwohx5V0QSymTN3iel1vU7FrH+m/B BXueyFgXyLUUCB/7aQ7+ANgdylMWCiYGZX0Jni7IJPFUU9cUkBtZHICLb/3h7KrCxFhC 5qo/Bp9DHz4BOG4GDEYHKNoz7aUYXBxp0if9n3bdT/eLi48DvZKQQyY4uPRAObyXr2li idiGDddNW79OerKMPiNKdnLnBndeHIa+H3DdQkaKqxcC4iLtycgtuj5lAaNBDS+EFmyI vISScGPmNeHezj2ZR7OQ4TEFfkjSYBmyOcZKZivLWMGkcMznuz9E3uwpMdaVzaB+0R5h //qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=mBby1Np3; 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 dk23-20020a0564021d9700b004314f75adb4si1363757edb.461.2022.06.15.04.25.53; Wed, 15 Jun 2022 04:26:19 -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=bombadil.20210309 header.b=mBby1Np3; 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 S241823AbiFOLMR (ORCPT + 99 others); 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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 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?