Re: [PATCH] [RFC] mm: fs: Invalidate BH LRU during page migration

From: Matthew Wilcox
Date: Wed Feb 03 2021 - 19:35:33 EST


On Mon, Feb 01, 2021 at 10:55:47PM -0800, Chris Goldsworthy wrote:
> @@ -1289,6 +1289,8 @@ static inline void check_irqs_on(void)
> #endif
> }
>
> +bool bh_migration_done = true;

What protects this global variable? Or is there some subtle reason it
doesn't need protection, in which case, please put that in a comment.