[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0e20cad3-8ba4-71bc-5bfd-3246ef991c6d@linux.intel.com>
Date: Wed, 4 Aug 2021 11:29:31 -0700
From: "Kuppuswamy, Sathyanarayanan"
<sathyanarayanan.kuppuswamy@...ux.intel.com>
To: Matthew Wilcox <willy@...radead.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J . Wysocki" <rafael@...nel.org>,
Jonathan Corbet <corbet@....net>,
Dan Williams <dan.j.williams@...el.com>,
Andi Kleen <ak@...ux.intel.com>,
Kuppuswamy Sathyanarayanan <knsathya@...nel.org>,
linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org
Subject: Re: [PATCH v1] driver: base: Add driver filter support
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
Powered by blists - more mailing lists