My original patch (https://lkml.org/lkml/2018/4/4/447) to fix this isse
probably won't work. This is my second attempt to fix it.
I don't have the setup to reproduce the problem. Could someone try it to see
if it can eliminate the warning?
Waiman Long (2):
locking/rwsem: Add a new RWSEM_WRITER_OWNED_NOSPIN flag
locking/percpu-rwsem: Mark rwsem as non-spinnable in
percpu_rwsem_release()
include/linux/percpu-rwsem.h | 6 +++---
include/linux/rwsem.h | 10 ++++++++++
kernel/locking/rwsem-xadd.c | 17 ++++++++---------
kernel/locking/rwsem.c | 16 +++++++++++++++-
kernel/locking/rwsem.h | 37 ++++++++++++++++++++++++++++++-------
5 files changed, 66 insertions(+), 20 deletions(-)
--
1.8.3.1