]> git.baikalelectronics.ru Git - kernel.git/commit
locking/ww_mutex: Remove the __sched annotation from ww_mutex APIs
authorPeter Zijlstra <peterz@infradead.org>
Sun, 15 Aug 2021 21:28:44 +0000 (23:28 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Aug 2021 17:04:49 +0000 (19:04 +0200)
commit28c00e5b7cdfc0e0adcf2442fc8f89bb50e241b2
tree68133aab90e6a8e6a55601195f94650600b8e6ca
parentfc51668817abad7675b97cec987e44fbb7e203dd
locking/ww_mutex: Remove the __sched annotation from ww_mutex APIs

None of these functions will be on the stack when blocking in
schedule(), hence __sched is not needed.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210815211304.453235952@linutronix.de
kernel/locking/ww_mutex.h