Re: [QUESTION] inconsistent use of smp_mb()

From: David Howells
Date: Fri Dec 06 2024 - 05:51:32 EST


Zilin Guan <zilin@xxxxxxxxxx> wrote:

> Since the code does not need the fence, should I send a patch to
> remove it? Commit 2df8654 introduced this fence during the transition
> to a new writeback implementation. However, the author added this fence
> as part of the changes and did not intend to address a specific CPU
> reordering issue.

Sure.

Thanks,
David