mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
locking/mutex: Use try_cmpxchg()
For simpler and better code. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Waiman Long <longman@redhat.com> Reviewed-by: Yanfei Xu <yanfei.xu@windriver.com> Link: https://lore.kernel.org/r/20210630154114.834438545@infradead.org
This commit is contained in:
parent
0e8a89d49d
commit
ab4e4d9f79
1 changed files with 6 additions and 21 deletions
Loading…
Add table
Add a link
Reference in a new issue