Re: [PATCH v3 0/8] Convert barrier pairs to acquire/release for better performance
From: Theodore Tso
Date: Wed Sep 02 2026 - 10:40:45 EST
On Wed, Sep 02, 2026 at 03:47:57PM -0500, Jinjie Ruan wrote:
>
> This series converts some existing smp_wmb()/smp_rmb() barrier pairs to
> smp_store_release()/smp_load_acquire() across various subsystems.
I would like to land the ext4 related patches through the ext4 tree,
so please detach them from this patch series. That's because I want
to be able to monitor the regression testing before sending a pull
request to Linus.
More generally, I think we should be looking at this kind of barrier
conversion on a per site basis. If there is a bug that isn't notice,
it can result in a very hard to debug problem. And if the benefit of
speeding up a particular code path isn't particularly that great,
maybe the cost vs benefit vs risk calculation might cause us to decide
to take a pass on the change.
Cheers,
- Ted