[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1526326267-22501-1-git-send-email-longman@redhat.com>
Date: Mon, 14 May 2018 15:31:05 -0400
From: Waiman Long <longman@...hat.com>
To: Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>
Cc: linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
Davidlohr Bueso <dave@...olabs.net>,
"Theodore Y. Ts'o" <tytso@....edu>,
Oleg Nesterov <oleg@...hat.com>,
Amir Goldstein <amir73il@...il.com>, Jan Kara <jack@...e.cz>,
Waiman Long <longman@...hat.com>
Subject: [RFC PATCH v2 0/2] locking/rwsem: Fix DEBUG_RWSEM warning from thaw_sup
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
Powered by blists - more mailing lists