[PATCHSET] percpu_ref, RCU: Audit RCU usages in percpu_ref users

2018-03-06 Thread Tejun Heo
Hello, Jann Horn found that aio was depending on the internal RCU grace periods of percpu-ref and that it's broken because aio uses regular RCU while percpu_ref uses sched-RCU. Depending on percpu_ref's internal grace periods isn't a good idea because * The RCU type might not match. *

[PATCHSET] percpu_ref, RCU: Audit RCU usages in percpu_ref users

2018-03-06 Thread Tejun Heo
Hello, Jann Horn found that aio was depending on the internal RCU grace periods of percpu-ref and that it's broken because aio uses regular RCU while percpu_ref uses sched-RCU. Depending on percpu_ref's internal grace periods isn't a good idea because * The RCU type might not match. *