Re: [PATCH v3 0/8] Convert barrier pairs to acquire/release for better performance

From: Jinjie Ruan

Date: Fri Sep 04 2026 - 03:21:06 EST




在 2026/9/2 22:19, Theodore Tso 写道:
> 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.

Hi Ted,

Thanks for your feedback. I will split out the ext4-related patches.

Thanks,
Jinjie

>
> 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