Re: [PATCH] block: remove redundant explicit memory barrier from rq_qos waiter and waker

From: Jens Axboe
Date: Tue Oct 22 2024 - 18:25:19 EST



On Mon, 21 Oct 2024 16:52:51 +0800, Muchun Song wrote:
> The memory barriers in list_del_init_careful() and list_empty_careful()
> in pairs already handle the proper ordering between data.got_token
> and data.wq.entry. So remove the redundant explicit barriers. And also
> change a "break" statement to "return" to avoid redundant calling of
> finish_wait().
>
>
> [...]

Applied, thanks!

[1/1] block: remove redundant explicit memory barrier from rq_qos waiter and waker
commit: 904ebd2527c507752f5ddb358f887d2e0dab96a0

Best regards,
--
Jens Axboe