Re: [PATCH 5/7] block: Remove superflous rcu_read_[un]lock_sched() in blk_queue_enter()
From: Peter Zijlstra
Date: Wed Mar 14 2018 - 16:09:07 EST
On Wed, Mar 14, 2018 at 08:05:30PM +0000, Bart Van Assche wrote:
> Can you clarify this further? From <linux/rcupdate.h>:
>
> static inline void synchronize_rcu(void)
> {
> synchronize_sched();
> }
You'll find that is for !CONFIG_PREEMPT_RCU.