[PATCH 0/5] locking: Percpu-rwsem rewrite

From: Peter Zijlstra
Date: Wed Nov 13 2019 - 05:29:23 EST


Yet another version of the percpu-rwsem rewrite..

This one (ab)uses the waitqueue in an entirely different and unique way, but no
longer shares it like it did. It retains the use of rcuwait for the
writer-waiting-for-readers-to-complete condition.

This one should be FIFO fair with writer-stealing.

It seems to pass locktorture torture_type=percpu_rwsem_lock. But as always,
this stuff is tricky, please look carefully.