Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8508100rwi; Tue, 25 Oct 2022 07:31:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4alBNZH/pgXdBDPVl6Su2PFjkLZ/liIhF5MCMU83hvo+IKZmUGaQtW6J87qpCWF2wbGrB4 X-Received: by 2002:a17:907:9688:b0:7a5:74eb:d12b with SMTP id hd8-20020a170907968800b007a574ebd12bmr11330550ejc.60.1666708285010; Tue, 25 Oct 2022 07:31:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666708285; cv=none; d=google.com; s=arc-20160816; b=etm5bjTLMpwJmJLGRc01tG9mgsnwbONveErrdKmMvfwoyh7H3QrelyHwMiHMWTKZkp 9rXb7WF4uiyapi7oidoeWmPRJ8BLksF3v5Lft1JVCB+pzfJ2E+kChWv4NsiL9ubI1NvO 5S60y/+82FDbJ7q4rIlJXBe/C1IlDiGpJ7HLMfzH4r1WI7hWjS8r/Z9+TQu2lVB9OPde jdKgW5eP8zdHYdE6hy29PQzwwAUM/gsY5hzTswF+lz0ind6+XHlEwrEF1dTrEdXzjnKV MbJZ1/VS86Uht/RCfkWd7LFPzcAzfbNMH4oFJZ6Hu9p8Iqj9G7k1S0VGydG7nH3jzd0Z 5BPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=aHpzy4jYP4QgBrfnEo3hF1WixD4989yYm1SxoPiA0i8=; b=JC04lCV9wG8IvgoaeTDj/c9ih/4V2MZET7nddAW6pTEWnKfcdmdfS7FtrZzYK1W2Qq U1hqdJJGlwnmfKPgBXSk1Va8OrFZLvkKdPduNkxqIQ7oguMNrUWPKFmHGyKT2IYi7i7f KTTujjDQTvh5KY3O8tsY+v6KW/MZ7u89xUiFSXxYl5BQzMveJNBG/HQCFPPAC/mHmYjM fArnjhnrD8mtRYGm7O3mKNUGMRvCBMoYAFg4QIel7NM/gWUVxWE7w3zL6VkzHiok2VqX itPC2MZMzTVGY+ENr9mwN4EFw2PoksifnUbiFXBsFZK2BuQuEYowoGk2P2rJtUR0qCQ7 ggEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=K9gBX2dA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eg48-20020a05640228b000b00461ace746adsi2568184edb.453.2022.10.25.07.30.58; Tue, 25 Oct 2022 07:31:24 -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=@quicinc.com header.s=qcppdkim1 header.b=K9gBX2dA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231352AbiJYN5R (ORCPT + 99 others); Tue, 25 Oct 2022 09:57:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230158AbiJYN5Q (ORCPT ); Tue, 25 Oct 2022 09:57:16 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A0011552D8 for ; Tue, 25 Oct 2022 06:57:15 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29PBG0nK012135; Tue, 25 Oct 2022 13:56:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=aHpzy4jYP4QgBrfnEo3hF1WixD4989yYm1SxoPiA0i8=; b=K9gBX2dA19Ru8Zl8oGw3bxGbvfcijuymZrL49+ryTdoxnAR/NFK7itRPmawaypAK50Rz 9R5wOL/4Gi91LTpiCg8qnb1cbC4CKGbjyKcWhL36OdV/OjNFB20c8aCDC4ldSlrLYQyE vtzlReRZbBRI53tbbCiy4MqzBYLDhZNaFzunQFoKgL2tTgHYC231usHccFscMh4PMv8q ThXp/sbJQa73a+qIBF/d3MFQHt8nX4Sb40VsxzipINUWUAzX2+Fh2vZsITmOoexugpxv m8C1Lm5q3K+I117H9y7MbDyLMsA1fviubTSElhtbZtAHQaXDL5i/dNTFGBapGlPjQnwZ Ig== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ke6qs1rec-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Oct 2022 13:56:57 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 29PDuucL014044 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Oct 2022 13:56:56 GMT Received: from [10.226.59.182] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Tue, 25 Oct 2022 06:56:55 -0700 Message-ID: Date: Tue, 25 Oct 2022 07:56:55 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH v5 1/3] drm: Use XArray instead of IDR for minors Content-Language: en-US To: =?UTF-8?Q?Micha=c5=82_Winiarski?= , , , CC: David Airlie , Matthew Wilcox , Thomas Zimmermann References: <20220911211443.581481-1-michal.winiarski@intel.com> <20220911211443.581481-2-michal.winiarski@intel.com> From: Jeffrey Hugo In-Reply-To: <20220911211443.581481-2-michal.winiarski@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: x1TWMRnQd4tBzOiPL8BaRpMObfsy8t0G X-Proofpoint-GUID: x1TWMRnQd4tBzOiPL8BaRpMObfsy8t0G X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-25_06,2022-10-25_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 adultscore=0 phishscore=0 clxscore=1011 mlxscore=0 lowpriorityscore=0 malwarescore=0 mlxlogscore=796 priorityscore=1501 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210250080 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 9/11/2022 3:14 PM, Michał Winiarski wrote: > IDR is deprecated, and since XArray manages its own state with internal > locking, it simplifies the locking on DRM side. > Additionally, don't use the IRQ-safe variant, since operating on drm > minor is not done in IRQ context. > > Signed-off-by: Michał Winiarski > Suggested-by: Matthew Wilcox > --- Reviewed-by: Jeffrey Hugo