mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jason Low <jason.low2@hp.com>
To: mingo@kernel.org, peterz@infradead.org
Cc: linux-kernel@vger.kernel.org, davidlohr@hp.com,
	Waiman.Long@hp.com, scott.norton@hp.com, aswin@hp.com,
	jason.low2@hp.com
Subject: [PATCH v3 0/3] mutex: Modifications to mutex
Date: Thu, 12 Jun 2014 14:20:11 -0700	[thread overview]
Message-ID: <1402608014-11473-1-git-send-email-jason.low2@hp.com> (raw)

v2->v3:
- Merge patches 2 and 3 from the v2 patchset into one patch as suggested.
- Update Reviewed-by/Acked-by

v1->v2:
- Remove the MUTEX_SHOW_NO_WAITER() macro.
- Use !mutex_is_locked() instead of introducing a new MUTEX_IS_UNLOCKED() macro.
- Add more information to the changelog of the "Optimize mutex trylock slowpath"
  patch.

This patchset contains documentation fixes, optimizations, and improvements
to code clarity for mutex.

Jason Low (3):
  mutex: Correct documentation on mutex optimistic spinning
  mutex: Try-acquire mutex only if unlocked and improve code clarity
  mutex: Optimize mutex trylock slowpath

 kernel/locking/mutex.c |   35 ++++++++++++++++++-----------------
 1 files changed, 18 insertions(+), 17 deletions(-)


             reply	other threads:[~2014-06-12 21:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-12 21:20 Jason Low [this message]
2014-06-12 21:20 ` [PATCH v3 1/3] mutex: Correct documentation on mutex optimistic spinning Jason Low
2014-06-12 21:20 ` [PATCH v3 2/3] mutex: Try-acquire mutex only if unlocked and improve code clarity Jason Low
2014-06-12 21:20 ` [PATCH v3 3/3] mutex: Optimize mutex trylock slowpath Jason Low

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1402608014-11473-1-git-send-email-jason.low2@hp.com \
    --to=jason.low2@hp.com \
    --cc=Waiman.Long@hp.com \
    --cc=aswin@hp.com \
    --cc=davidlohr@hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=scott.norton@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®