locking/mutex: Add comment to __mutex_owner() to deter usage
authorPeter Zijlstra <peterz@infradead.org>
Tue, 20 Feb 2018 15:01:36 +0000 (16:01 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 21 Feb 2018 07:56:40 +0000 (08:56 +0100)
commit88e77dc6a354095ddaaae715bc0d3b55702fa3db
tree203d07a95e41da5b4b415f7117c092c4eb8da20e
parent91ab883eb21325ad80f3473633f794c78ac87f51
locking/mutex: Add comment to __mutex_owner() to deter usage

Attempt to deter usage, this is not a public interface. It is entirely
possible to implement a conformant mutex without having this owner
field (in fact, we used to have that).

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: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/mutex.h