Re: [PATCH v7 07/17] types: move struct rcuwait into types.h

From: Davidlohr Bueso
Date: Fri Dec 27 2024 - 14:15:16 EST


On Thu, 26 Dec 2024, Suren Baghdasaryan wrote:

Move rcuwait struct definition into types.h so that rcuwait can be used
without including rcuwait.h which includes other headers. Without this
change mm_types.h can't use rcuwait due to a the following circular
dependency:

mm_types.h -> rcuwait.h -> signal.h -> mm_types.h

Suggested-by: Matthew Wilcox <willy@xxxxxxxxxxxxx>
Signed-off-by: Suren Baghdasaryan <surenb@xxxxxxxxxx>

Acked-by: Davidlohr Bueso <dave@xxxxxxxxxxxx>