Messages in this thread | | | From | Jason Low <> | Subject | [RFC PATCH 0/3] locking/mutex: Modifications to mutex | Date | Wed, 4 Jun 2014 12:08:28 -0700 |
| |
This patchset contains modifications to mutex.
Patch 1 further reduces unnecessary atomic xchg() operations upon entering the mutex slowpath in mutex_lock().
Patch 2 corrects/updates the documentation on mutex optimistic spinning.
Patch 3 optimizes mutex trylock slowpath.
Jason Low (3): mutex: Try to acquire mutex only if it is unlocked mutex: Correct documentation on mutex optimistic spinning mutex: Optimize mutex trylock slowpath
kernel/locking/mutex.c | 47 ++++++++++++++++++++++++++--------------------- 1 files changed, 26 insertions(+), 21 deletions(-)
| |