[RFC PATCH 0/3] locking/mutex: Modifications to mutex

From: Jason Low
Date: Wed Jun 04 2014 - 15:10:39 EST


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(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/