fs/locks: Use percpu_down_read_preempt_disable()
authorPeter Zijlstra <peterz@infradead.org>
Mon, 30 May 2016 14:48:35 +0000 (16:48 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 22 Sep 2016 13:25:54 +0000 (15:25 +0200)
commit87709e28dc7c669af1126aa7352ff6f7b035412d
tree64c951adb2bf364a6652517f2f1b6da0943bbbf6
parent259d69b7f056bc9a543c7d184e791ef6c2775081
fs/locks: Use percpu_down_read_preempt_disable()

Avoid spurious preemption.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: dave@stgolabs.net
Cc: der.herr@hofr.at
Cc: paulmck@linux.vnet.ibm.com
Cc: riel@redhat.com
Cc: tj@kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
fs/locks.c