Received: from mail-dy2-f5.google.com (mail-dy2-f5.google.com [74.125.229.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 151D344C65F for ; Wed, 23 Sep 2026 09:41:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.229.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790156501; cv=none; b=nj+jgIT7+CQn7Q2kJNwQElayedkQVGdrtwvwvUTJsgf+VZt2A2Hc1R/t/W3mJFlFuIVgLSODy8rnI26o3u7vhGoY3PwPorkhTTo/Czaxw2B4kqrL8v8N/PPL31+FM2nr+lkyHRYEh6xl8UpVOv+dSdAgC/6nCfenYPNzqZQrPis= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790156501; c=relaxed/simple; bh=8KRd2IeBcyI79hkB04B1fpSGvFrzC7yk22zox4oFbxY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=erSOTBdbPrsV7wxJMkh2PrNuMS+lkxXsw6ijMZhZULnijV+dh7BGHvMo9nOatL4jNGCzGZsbJV4U4wyqnbJBcEi+3fiz7ToSRQFjfX9sY3x4aR5KAMDfswYpEU6bbLGj3xleNMWmUY1PgqhdgGy1DNrxgGO5gzgiWH8vIxs0uXI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=fUq7WRWt; arc=none smtp.client-ip=74.125.229.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fUq7WRWt" Received: by mail-dy2-f5.google.com with SMTP id 5a478bee46e88-3356aa152e9so292919eec.1 for ; Wed, 23 Sep 2026 02:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1790156499; x=1790761299; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=oEoKsgWSINlMeUP0j6kujHfz74zeFa1j5vE3VMbHVkw=; b=fUq7WRWtBf55mOPPROeg+JVIGrPm05Fk5FKWfubHtY6eQpEvDmZ0/Jhm6plF4Lywa2 DzODqSmYNIQwhYCj0ZST6SFauakYP+atbVN4DVl4ME8loPm3akydmer/1nUd20uDcAhl c61E0asuw8uFtuKjpOVLFzu9If4Q9PshOiSWJ7vyx8eWzusYk1ul6Esy7x/yMsmojZW0 sgX6ZwDcNMLONRPZie4WWpRMyTP/e5rluSRjewmIdCJYMH2SrrK8ZDtdOTXXaG2ZwdgW x/QY5bxFPA/p4Ht3ZYx9SI2g+Wc3pSxj3rgcCScbNU4UgDAUWaHXZssMQJrLHtR+3GRd guWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790156499; x=1790761299; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=oEoKsgWSINlMeUP0j6kujHfz74zeFa1j5vE3VMbHVkw=; b=X8lLSuyHd0DqqHxzAeWwo/JaQ8elWUmAT3Swn3wfCT8QwamRwNLm836inOfPpec0Ay ftHNjVRZoih23vBfQcqzCXfLKAylo3e07WPQYLyjHaeKQeh9DCJIWFpnAXoDdtN3Co87 ERh0roH0N3qw9GXV8YwkfdiNWW9OrnnU7BJZKU7JrCYQYFGEIsjyjgbjRDp4bgZNAnaN LwuHULdjMtzZotlKlhHhql9/Im2XverYDwrG1rKCxP6xfq6LuTkzhyy/M0i+8iKedCs8 0BrWbPfhVzKHx0Lpo7yx4ZyhuUyCDIlMhjCWW4+bFSH21XBOBRmXSiGJm3uCxI9mXc+x NVgA== X-Forwarded-Encrypted: i=1; AKwUvBxF6qPVsc7KeRfGRc1MU5uheEUqfzkgiNHDjc9fJBGrWWbPCxY032Kz/OpXE+rczf/RRU5HfGQxHDmX4xSb@vger.kernel.org X-Gm-Message-State: AFuF++m1TYqs9Y39dGmjREZNKPbKvCmmt0pu+GDsmjTYjOHptVJDwc3E 5a+lPVF3GY2+/CpOBdASWFAkp4ZpmhwEwcC2Bj8N7zX/r8JYZ51zILM= X-Gm-Gg: AYBFou34owlXTHCzsamJSSApvlIu3F8qGe1KxfhXf5Eoq8KSk3DXod1r95hoGIhed1l Ceha8C6/dmJgwQgJT7Rd3A8vmUvoCfx/JRCfPMp30qyz3rlmKXZa1zNYa9tiEYxl9qvzMW5O+v3 p6yh/gsEWt9HiukFXMc56r3iRY979RqskN3Qd5Z3vkvPff8EL0UU/HZsh7ws0+jRnKeMWhM0XHE bKIcorbdntD2Ch4TqeqnAi9ttPnLcfGBscERaD6uLvWmqGj0Wv7VfMWE/zSzAAgPfC9uZuI0pb2 VTMTM6ZD7a4zo/rzpm0nctwVwnFbALJk9tWRQXBvPr+Z5Os8TORGWOxwymT9S5qOW4y0wuptR7k AaOBF8xLRUKk94gszK+gW/y47nG8z5yv3+wGBC5E46trpGatjLnxrMJHy6lm1QKkJLNHTyjdOtE xVyU2F3YbL8HCRjklu9T3gXuPAMfC4nRO/CUVvOt8UllDhsMnTeMEAVFGkP24PXxUAqitMIvq1/ 3CEIygkCLY4qy8cM8C/G1l4 X-Received: by 2002:a05:7300:fc01:b0:33b:f062:a654 with SMTP id 5a478bee46e88-33e9548f062mr1886015eec.16.1790156498684; Wed, 23 Sep 2026 02:41:38 -0700 (PDT) Received: from murali-Aspire-A515-58PT.. ([2a09:bac5:3b22:16b4::243:71]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-33e95c7bf6bsm4894525eec.8.2026.09.23.02.41.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Sep 2026 02:41:38 -0700 (PDT) From: Murali Krishna To: gregkh@linuxfoundation.org Cc: srini@kernel.org, ekansh.gupta@oss.qualcomm.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Murali Krishna Subject: Re: misc: fastrpc: is a ctx_idr IDR -> XArray conversion wanted? Date: Wed, 23 Sep 2026 15:10:01 +0530 Message-ID: <20260923094040.18397-1-muralikrishna2444b@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <2026092338-banking-tactics-2cfb@gregkh> References: <20260923082254.15312-1-muralikrishna2444b@gmail.com> <2026092338-banking-tactics-2cfb@gregkh> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Wed, Sep 23, 2026 at 11:28:52AM +0200, Greg KH wrote: > I doubt it's really needed unless you can prove some sort of advantage > for the change? Is it faster on a measurable path, or less memory or > something else that would justify the churn? > > idr is still a fine structure/api for many things, they don't all have > to go away, otherwise we would have done so long ago. Understood, and I cannot show such an advantage. struct idr is already built on the same underlying tree as the xarray, so there is nothing measurable to gain here in speed or memory -- it would be churn for its own sake. I will drop the conversion. Thank you for answering so quickly, and for explaining the reasoning rather than just saying no. That was useful to me. If there is something in fastrpc, or elsewhere in drivers/misc, that you would actually like to see worked on, I would be glad to take on something small and learn from the review. Thanks, Murali Krishna