]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5477840b35d54c90d3d0c204ee3c56eae35394d5
tree203d07a95e41da5b4b415f7117c092c4eb8da20e
parentec86ef94f7e7b4fb720bc80e7ffb57326f152ab0
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