mutex: Better control mutex adaptive spinning config
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 2 Dec 2009 19:49:16 +0000 (20:49 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 3 Dec 2009 10:50:11 +0000 (11:50 +0100)
commitc02260277e472095ffb3ad893be5eeab9dcefde3
tree583bb881a47b02cf345c557722696e96f609e690
parentfa1452e808732ae10e8b1267fd75fc2d028d634b
mutex: Better control mutex adaptive spinning config

Introduce CONFIG_MUTEX_SPIN_ON_OWNER so that we can centralize
in a single place the conditions that determine its definition
and use.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1259783357-8542-1-git-send-regression-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
kernel/Kconfig.locks
kernel/mutex.c