Re: [PATCH 3/4] mm: replace rw_semaphore with atomic_t in vma_lock

Matthew Wilcox
2024-12-13T18:19:47Z

On Fri, Dec 13, 2024 at 09:45:33AM -0800, Suren Baghdasaryan wrote:
> think the simplest way would be to move the definition of struct
> rcuwait into a separate header and include that header in mm_types.h.
> That, with some uninlining like you suggested, should do the trick.

I'd suggest struct rcuwait should live in types.h alongside list_head,
rcuref and so on.