locking/percpu-rwsem: Remove preempt_disable variants
authorPeter Zijlstra <peterz@infradead.org>
Thu, 21 Feb 2019 14:38:40 +0000 (15:38 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 28 Feb 2019 06:55:37 +0000 (07:55 +0100)
commit02e525b2aff1d665f6466e1d123ee4cb69f1d4b0
treeb8ab5cc7bcbe93bcb04a844a4e2352bd62d4679d
parent0614621d89c43ea5b28456c2baf6b0c0e00ca81e
locking/percpu-rwsem: Remove preempt_disable variants

Effective revert commit:

  87709e28dc7c ("fs/locks: Use percpu_down_read_preempt_disable()")

This is causing major pain for PREEMPT_RT.

Sebastian did a lot of lockperf runs on 2 and 4 node machines with all
preemption modes (PREEMPT=n should be an obvious NOP for this patch
and thus serves as a good control) and no results showed significance
over 2-sigma (the PREEMPT=n results were almost empty at 1-sigma).

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
fs/locks.c
include/linux/percpu-rwsem.h