Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp385110pxt; Wed, 4 Aug 2021 13:52:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5zSVXwoZ3CdNx9knr8ow0s3cT+cxmS2988zlZs7H50ZNFH+7lIr2/7r2wIVSnoirWy6Kx X-Received: by 2002:a05:6402:274f:: with SMTP id z15mr1960952edd.21.1628110377110; Wed, 04 Aug 2021 13:52:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628110377; cv=none; d=google.com; s=arc-20160816; b=JYRr9zg4SDT8fsGc3f9iN2wmUeba0DQ4M8m09T3C39l1QtcCZombHbuLSK2/uS5RYI 7pR3AvkQC80ka/v14QaV8axCk1ZZlVknB4rAJrOrMMPzN5ExxGu9tMBNO2uKIZ4tmZHg saRzF4mRC4ThS9MDP3jfWSlbTW4Gjvea95yKWzffWYoY8pHph6JfEM1GP7d4Qc9YqOtL 9Q41pCTe/QMafSI6u/J5MiRe3P3diLCYOlm2LtofaznoxEmxBO1gQq2AMIZRL6PWpEL9 PcgZUPUCdU0Nd5Bvrzb7vij+JVSCLXdCmlBRDLD0f51Kvqi7kfSzpWHmOOc225pB/BON jclg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=KIL82kK0dqq4OSMPVcupmHWUER7nQpGhR57B6+UDq20=; b=LVtHuUrVX2yXCyTkdSkROw8LHXaERsq0wPq3ddyBpUEIGeVtjFOXxt05gS8UjYwfZ+ nW+4sXkFC2nTgZzvwLjVPban6jX1o5n/GhNnwQ0ABVKN5My85u5iXlFX7v6/7TO7DmIt cdBIOVXNsgZWtFVtHUxwSuw3Q1nF5jUDly38PIgdCyeoxEUafefrVZS8kP8fPPECnI9t TYeqcn3QQ2UR99Qu9kKzK+1SC9jqo+yS8i91byXaqWnPFfz2PXo04AwqsXsBZY+ju2rP ilGPBAZC51kigREggOUKyFzsl1Vz+G+0a/y2l1f8Da/Kafk0tXx3KtuM2nhP/x0w/9D6 rHKA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h14si3403360eje.410.2021.08.04.13.52.32; Wed, 04 Aug 2021 13:52:57 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240276AbhHDS3r (ORCPT + 99 others); Wed, 4 Aug 2021 14:29:47 -0400 Received: from mga05.intel.com ([192.55.52.43]:5234 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230449AbhHDS3r (ORCPT ); Wed, 4 Aug 2021 14:29:47 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10066"; a="299574166" X-IronPort-AV: E=Sophos;i="5.84,295,1620716400"; d="scan'208";a="299574166" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Aug 2021 11:29:34 -0700 X-IronPort-AV: E=Sophos;i="5.84,295,1620716400"; d="scan'208";a="512184771" Received: from bguvendi-mobl.amr.corp.intel.com (HELO skuppusw-mobl5.amr.corp.intel.com) ([10.212.99.93]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Aug 2021 11:29:33 -0700 Subject: Re: [PATCH v1] driver: base: Add driver filter support To: Matthew Wilcox Cc: Greg Kroah-Hartman , "Rafael J . Wysocki" , Jonathan Corbet , Dan Williams , Andi Kleen , Kuppuswamy Sathyanarayanan , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org References: <20210804174322.2898409-1-sathyanarayanan.kuppuswamy@linux.intel.com> From: "Kuppuswamy, Sathyanarayanan" Message-ID: <0e20cad3-8ba4-71bc-5bfd-3246ef991c6d@linux.intel.com> Date: Wed, 4 Aug 2021 11:29:31 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/4/21 11:08 AM, Matthew Wilcox wrote: > Why use a doubly-linked-list here? An allocating xarray should perform > much better and use less memory. We don't expect the list to be too long. So we may not gain any significant advantage in terms of performance or memory when using alternate lists. Since linked list easier to use, we chose it. -- Sathyanarayanan Kuppuswamy Linux Kernel Developer