Re: [PATCH v1] driver: base: Add driver filter support

From
Dan Williams <hidden>
Date
2021-08-04 18:46:24
Also in
lkml
Reply to
Matthew Wilcox, 2021-08-04
On Wed, Aug 4, 2021 at 11:09 AM Matthew Wilcox [off-list ref] wrote:
On Wed, Aug 04, 2021 at 10:43:22AM -0700, Kuppuswamy Sathyanarayanan wrote:
quoted
+/* Driver allow list */
+static LIST_HEAD(driver_allow_list);
+/* Driver deny list */
+static LIST_HEAD(driver_deny_list);
Why use a doubly-linked-list here?  An allocating xarray should perform
much better and use less memory.
Sounds reasonable to me.
Thread (44 messages) 44 messages, 6 authors, last reply 2021-08-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help