Re: [PATCH 1/2] Use list.h instead of file_system_type next
From: Matthew Wilcox
Date: Sat May 04 2019 - 09:45:45 EST
On Sat, May 04, 2019 at 05:45:48AM -0400, Carmeli Tamir wrote:
> Changed file_system_type next field to list_head and refactored
> the code to use list.h functions.
What might be interesting is getting rid of this list and using an XArray
instead. This would be a more in-depth change; getting rid of the rwlock
in favour of using RCU accesses for the read-side and the xa_lock for
write accesses to the filesystem list.