Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp385926pxt; Wed, 4 Aug 2021 13:54:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgUAH+RpWsYzm38hpI3sTQMHcXoLB2AbRmTxrgT1lHRzwzirezaNTUEgqWN88XV8kg0zdi X-Received: by 2002:a92:194c:: with SMTP id e12mr1056139ilm.199.1628110467944; Wed, 04 Aug 2021 13:54:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628110467; cv=none; d=google.com; s=arc-20160816; b=rr+ps6R6Cg8r7vTOngiLoeFQ6SDoHoHAyd/s14CzV9jji6X6n/N7jzj9/oG0IyC6Lm ZLFTt4zSwFMj++efwQv83/GGzWgu07O3sDsRnv8RcaxngjnJHfdwvObWlOiCEvAD3WPE vlj78MdZ/soYcm2DR7c7KKbERksFVMwzVjKBv16aJ7sZGQMzoypQH3BddZn47N6/dInO pVJicXcQzjD8nqFLRhDXd8jWydjGcEmePEsuDQ10gFP3pDP27nf9GFm1ec97UwTcwFhe lCpfsMOcH80mu7yClSSruNMb6FWR1XStcIptqK9CpQSdDepWm1CJw9hIrFKsjVok10mY TqfA== 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=m06WdUPrsjECa9DDzV6g+lGJLwGjyTbvcHlBD8ZFWyo=; b=HpRlx2z+GZRniE0XhZvGWXRQu3xpE6bY8Lm/WWnGRSILE4rBllI33uMgjoTjuiAD3c X6AANbPdLos/7fQIkzg5DtTJIO7sfx6W9VLtpMmajocvQkEwT04QnRuegCYFHxSfk/dF NVWL8b9aEA+L35H7Ba7V7RHe0ULHbok4/6wCLTqN5Kdu+gX0S0cxmcQmHeR3OOLgVcPD yJCU3BT2Ax6vCeC1GMahUMPOi6m4clv6jO9tuwGoRqYvJboWlFnjbiAFK1fIFMRH+fcC hoeTzfje2ok39dMEp/MsRaAOiZUdv+C9OynWGSh3R/SV0HoX7ym2miEzB4QFlVqQE+KA mi2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=vXBDLPhM; 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 g4si1746642ila.46.2021.08.04.13.54.14; Wed, 04 Aug 2021 13:54:27 -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; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=vXBDLPhM; 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 S240292AbhHDSef (ORCPT + 99 others); Wed, 4 Aug 2021 14:34:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236401AbhHDSef (ORCPT ); Wed, 4 Aug 2021 14:34:35 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43B97C0613D5; Wed, 4 Aug 2021 11:34:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=m06WdUPrsjECa9DDzV6g+lGJLwGjyTbvcHlBD8ZFWyo=; b=vXBDLPhM1KPN3pPPUj19jWjJhE /alyklTaF7q0YrWK0IisnwoxrpmleyK+UKYaVV2CWTOs4HN2xXk1gpCXi1dPaO3TMiJQ6SPeFxBHR so96eZGsbYvKQOMp4GqHoYT8iOgSOMbMPLy2qedzaddSBSQwjtiHj8zFUWAEWvAJ3BMu2ClxNOOyh Bu/InwPIyBBTAFydBLm0TrR3rW+a3nk7JWxgacqN+9C1WZh6g+nHp5tq36DV5M5ODcQy3iIm6Vm/E yazcypvYd5QBPhxVZSc8v54iwHX09AMFQLrDLia+eZ/XGRDs3uFehxTGBcM7QWb5IY5lX/uWB83Fn bOtrQALg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBLhb-006Arb-6f; Wed, 04 Aug 2021 18:33:26 +0000 Date: Wed, 4 Aug 2021 19:33:15 +0100 From: Matthew Wilcox To: "Kuppuswamy, Sathyanarayanan" 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 Subject: Re: [PATCH v1] driver: base: Add driver filter support Message-ID: References: <20210804174322.2898409-1-sathyanarayanan.kuppuswamy@linux.intel.com> <0e20cad3-8ba4-71bc-5bfd-3246ef991c6d@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0e20cad3-8ba4-71bc-5bfd-3246ef991c6d@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 04, 2021 at 11:29:31AM -0700, Kuppuswamy, Sathyanarayanan wrote: > > > 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. It is not easier to use.