On 2020/8/10 11:15, Ming Lei wrote:
About using per_cpu to replace SRCU, I suggest separate discussion. Can you show the patch? This will make it easier to discuss.https://lore.kernel.org/linux-block/20200728134938.1505467-1-ming.lei@xxxxxxxxxx/
Directly replace SRCU with percpu_ref, is not safe. This may make quiesce queue wait extra time, in extreme scenario, maybe wait for ever.