Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1182298 > unrolled thread

Re: [PATCH 5/7] locking/pvqspinlock: Add pending bit support

Started byPeter Zijlstra <peterz@infradead.org>
First post2015-07-12 10:30 +0200
Last post2015-07-12 10:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 5/7] locking/pvqspinlock: Add pending bit support Peter Zijlstra <peterz@infradead.org> - 2015-07-12 10:30 +0200

#1182298 — Re: [PATCH 5/7] locking/pvqspinlock: Add pending bit support

FromPeter Zijlstra <peterz@infradead.org>
Date2015-07-12 10:30 +0200
SubjectRe: [PATCH 5/7] locking/pvqspinlock: Add pending bit support
Message-ID<pLkO6-5ZO-9@gated-at.bofh.it>
On Sat, Jul 11, 2015 at 04:36:56PM -0400, Waiman Long wrote:
> Like the native qspinlock, using the pending bit when it is lightly
> loaded to acquire the lock is faster than going through the PV queuing
> process which is even slower than the native queuing process. It also
> avoids loading two additional cachelines (the MCS and PV nodes).
> 
> This patch adds the pending bit support for PV qspinlock. The
> pending bit code has a smaller spin threshold. It will default back
> to the queuing method if it cannot acquired the lock within a certain
> time limit.

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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web