locking/mutex: Add comment to __mutex_owner() to deter usage
authorPeter Zijlstra <[email protected]>
Tue, 20 Feb 2018 15:01:36 +0000 (16:01 +0100)
committerIngo Molnar <[email protected]>
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) <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
include/linux/mutex.h