From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Thu, 12 Oct 2017 13:20:46 +0100 Subject: [PATCH v3 0/5] Switch arm64 over to qrwlock Message-ID: <1507810851-306-1-git-send-email-will.deacon@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hello, This is version three of the patches previously posted here: v1: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-October/534666.html v2: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-October/534981.html Changes since v2 include: * Drop unused cnt argument * Fix typo in UNLOCK Kconfig inlining options * Added Tested-by tags Thanks to all of those who provided review and testing feedback! Will --->8 Will Deacon (5): kernel/locking: Use struct qrwlock instead of struct __qrwlock locking/atomic: Add atomic_cond_read_acquire kernel/locking: Use atomic_cond_read_acquire when spinning in qrwlock arm64: locking: Move rwlock implementation over to qrwlocks kernel/locking: Prevent slowpath writers getting held up by fastpath arch/arm64/Kconfig | 17 ++++ arch/arm64/include/asm/Kbuild | 1 + arch/arm64/include/asm/spinlock.h | 164 +------------------------------- arch/arm64/include/asm/spinlock_types.h | 6 +- include/asm-generic/atomic-long.h | 3 + include/asm-generic/qrwlock.h | 37 ++----- include/asm-generic/qrwlock_types.h | 15 ++- include/linux/atomic.h | 4 + kernel/locking/qrwlock.c | 86 +++-------------- 9 files changed, 61 insertions(+), 272 deletions(-) -- 2.1.4 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757503AbdJLMWD (ORCPT ); Thu, 12 Oct 2017 08:22:03 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:45512 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756879AbdJLMUt (ORCPT ); Thu, 12 Oct 2017 08:20:49 -0400 From: Will Deacon To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Jeremy.Linton@arm.com, peterz@infradead.org, mingo@redhat.com, longman@redhat.com, boqun.feng@gmail.com, paulmck@linux.vnet.ibm.com, Will Deacon Subject: [PATCH v3 0/5] Switch arm64 over to qrwlock Date: Thu, 12 Oct 2017 13:20:46 +0100 Message-Id: <1507810851-306-1-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, This is version three of the patches previously posted here: v1: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-October/534666.html v2: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-October/534981.html Changes since v2 include: * Drop unused cnt argument * Fix typo in UNLOCK Kconfig inlining options * Added Tested-by tags Thanks to all of those who provided review and testing feedback! Will --->8 Will Deacon (5): kernel/locking: Use struct qrwlock instead of struct __qrwlock locking/atomic: Add atomic_cond_read_acquire kernel/locking: Use atomic_cond_read_acquire when spinning in qrwlock arm64: locking: Move rwlock implementation over to qrwlocks kernel/locking: Prevent slowpath writers getting held up by fastpath arch/arm64/Kconfig | 17 ++++ arch/arm64/include/asm/Kbuild | 1 + arch/arm64/include/asm/spinlock.h | 164 +------------------------------- arch/arm64/include/asm/spinlock_types.h | 6 +- include/asm-generic/atomic-long.h | 3 + include/asm-generic/qrwlock.h | 37 ++----- include/asm-generic/qrwlock_types.h | 15 ++- include/linux/atomic.h | 4 + kernel/locking/qrwlock.c | 86 +++-------------- 9 files changed, 61 insertions(+), 272 deletions(-) -- 2.1.4