Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1195294pxk; Fri, 4 Sep 2020 03:18:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxE5GEES7M5I8tzdB/HoJK+cuyTAc/dlc9D68CgzhknnNAG2LjomNlbDMrKWVfIykAIa1Up X-Received: by 2002:a17:906:cf9b:: with SMTP id um27mr6616105ejb.66.1599214693403; Fri, 04 Sep 2020 03:18:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599214693; cv=none; d=google.com; s=arc-20160816; b=Wkbx0DUCZSszH1phfpp00MjH3AAj79UqPpUeusd+7j/NMCGww7Njdnxg68S/y0E8h3 340k6epLPsr6rV4R4oiv0zAhZJ63RtIyWJMkCcOf/YKjd0BqoMRW/k2IzWE32deHJb+4 OITZlEpokpxSuuId+EbJq12YnYQs6o0/FJM7DjJ7xoqITR3oNyQTUZhdg3LVG5Jdoigk vT4vyE7ZL2tyro+8hJo3j713Z+RW9eFp2e8U1MN3TEtxy4KMFQS2H9LgQbTBizaxSG6F D7K6PhMymK5ZEqxH/eIpTWNNY+FU0gQiUgpnqJXfFCoeRjfUaFtZmaj8f0wkEVex3ALg IzTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=s04OF/2CZKKK8U5thilUA9mftt6TWU6JFvjSaAkkLYU=; b=Qh3gGXDmGX9qgJfqvsLIY2cUT8Fs+pzNVXxEm/jZgB5kNcmzkcvcKOsNe+hV1aZYwY ju2nD56AqMEmD9C6itnGIak9os850FVe77/jrW1C5CrrTmZ/UwYlMIimw2Y/otCEOIXd huAHw3VgrP9yZqHLsFP9h5zjMmYVFxK/SoF6S0BQ74hH28iU03nOqVI6eu8HzxMXeds3 FoIul+i24yUb+2TGwurIBT90OBMLnfYFgg3exm84oWm4P+YnF5mVKPPxoysgjKRkj3jK Y3UAU6c41DqTbshDcCNpawNJQHmttT2V94z+rKQVQpZEQkKNLG1PO4q49yBTbRhRHXbH brtg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n6si3517682ejx.165.2020.09.04.03.17.48; Fri, 04 Sep 2020 03:18:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729795AbgIDKRF (ORCPT + 99 others); Fri, 4 Sep 2020 06:17:05 -0400 Received: from mx2.suse.de ([195.135.220.15]:58286 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726415AbgIDKQy (ORCPT ); Fri, 4 Sep 2020 06:16:54 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 9140EB8F7; Fri, 4 Sep 2020 10:16:52 +0000 (UTC) Subject: Re: [PATCH 01/19] char_dev: replace cdev_map with an xarray To: Christoph Hellwig , Jens Axboe Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Denis Efremov , "David S. Miller" , Song Liu , Al Viro , Finn Thain , Michael Schmitz , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-raid@vger.kernel.org, linux-scsi@vger.kernel.org, linux-m68k@lists.linux-m68k.org References: <20200903080119.441674-1-hch@lst.de> <20200903080119.441674-2-hch@lst.de> From: Hannes Reinecke Message-ID: Date: Fri, 4 Sep 2020 12:16:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200903080119.441674-2-hch@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/3/20 10:01 AM, Christoph Hellwig wrote: > None of the complicated overlapping regions bits of the kobj_map are > required for the character device lookup, so just a trivial xarray > instead. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Greg Kroah-Hartman > --- > fs/char_dev.c | 94 +++++++++++++++++++++++++-------------------------- > fs/dcache.c | 1 - > fs/internal.h | 5 --- > 3 files changed, 47 insertions(+), 53 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer