Re: [PATCH v1] driver: base: Add driver filter support
From: Matthew Wilcox <willy@infradead.org>
Date: 2021-08-04 18:09:00
Also in:
lkml
From: Matthew Wilcox <willy@infradead.org>
Date: 2021-08-04 18:09:00
Also in:
lkml
On Wed, Aug 04, 2021 at 10:43:22AM -0700, Kuppuswamy Sathyanarayanan wrote:
+/* 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.