Quantcast
Channel: [PATCH -tip 0/4] rtmutex: Spin on owner
Browsing latest articles
Browse All 40 View Live

Re: [PATCH -rfc 4/4] locking/rtmutex: Support spin on owner (osq)

On Tue, Jun 09, 2015 at 11:29:59AM +0200, Thomas Gleixner wrote: > > If you look at the RT code, then you'll notice that in the slow lock > path we queue the incoming waiter (including the PI...

View Article



Re: [PATCH -rfc 4/4] locking/rtmutex: Support spin on owner (osq)

On Tue, 9 Jun 2015, Peter Zijlstra wrote: > On Tue, Jun 09, 2015 at 11:29:59AM +0200, Thomas Gleixner wrote: > > > > If you look at the RT code, then you'll notice that in the slow lock...

View Article

Re: [PATCH 2/4] locking/rtmutex: Use cmp-cmpxchg

Hi David, On Sat, Jun 6, 2015 at 8:27 AM, Davidlohr Bueso <dave@stgolabs.net> wrote: > On Fri, 2015-06-05 at 14:38 +0200, Thomas Gleixner wrote: >> On Tue, 19 May 2015, Davidlohr Bueso...

View Article

Re: [PATCH 2/4] locking/rtmutex: Use cmp-cmpxchg

On Mon, 2015-06-15 at 11:34 -0700, Jason Low wrote: > The CCAS technique was typically used in the slow paths for those > other locks, where the chance of the operation returning false is >...

View Article

Re: [PATCH 2/4] locking/rtmutex: Use cmp-cmpxchg

On Mon, Jun 15, 2015 at 12:37 PM, Davidlohr Bueso <dave@stgolabs.net> wrote: > On Mon, 2015-06-15 at 11:34 -0700, Jason Low wrote: >> The CCAS technique was typically used in the slow...

View Article


[PATCH] futex: lower the lock contention on the HB lock during wake up

wake_futex_pi() wakes the task before releasing the hash bucket lock (HB). The first thing the woken up task usually does is to acquire the lock which requires the HB lock. On SMP Systems this leads...

View Article

Re: [PATCH] futex: lower the lock contention on the HB lock during wake up

On Tue, 2015-06-16 at 21:29 +0200, Sebastian Andrzej Siewior wrote: > Davidlohr, would it work for you to replace that patch #1 from your > series with this one? I prefer having two separate...

View Article

[PATCH v2] futex: lower the lock contention on the HB lock during wake up

wake_futex_pi() wakes the task before releasing the hash bucket lock (HB). The first thing the woken up task usually does is to acquire the lock which requires the HB lock. On SMP Systems this leads...

View Article


Re: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

On Wed, 2015-06-17 at 10:33 +0200, Sebastian Andrzej Siewior wrote: > wake_futex_pi() wakes the task before releasing the hash bucket lock > (HB). The first thing the woken up task usually does...

View Article


Re: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

On 06/17/2015 04:17 PM, Mike Galbraith wrote: > On Wed, 2015-06-17 at 10:33 +0200, Sebastian Andrzej Siewior wrote: >> wake_futex_pi() wakes the task before releasing the hash bucket lock...

View Article

Re: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

On Wed, 2015-06-17 at 16:28 +0200, Sebastian Andrzej Siewior wrote: > On 06/17/2015 04:17 PM, Mike Galbraith wrote: > > On Wed, 2015-06-17 at 10:33 +0200, Sebastian Andrzej Siewior wrote:...

View Article

[tip:sched/core] locking/rtmutex: Implement lockless top-waiter wakeup

Commit-ID: 45ab4effc3bee6f8a5cb05652b7bb895ec5b6a7a Gitweb: http://git.kernel.org/tip/45ab4effc3bee6f8a5cb05652b7bb895ec5b6a7a Author: Davidlohr Bueso <dave@stgolabs.net> AuthorDate: Tue, 19 May...

View Article

[tip:sched/core] futex: Lower the lock contention on the HB lock during wake up

Commit-ID: 881bd58d6e9eba4240b9dbc49fdc03a3374d7508 Gitweb: http://git.kernel.org/tip/881bd58d6e9eba4240b9dbc49fdc03a3374d7508 Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>...

View Article


[tip:sched/core] locking/rtmutex: Update stale plist comments

Commit-ID: f5de9f848cdfba072a0466c24891167c0c8b3be3 Gitweb: http://git.kernel.org/tip/f5de9f848cdfba072a0466c24891167c0c8b3be3 Author: Davidlohr Bueso <dave@stgolabs.net> AuthorDate: Tue, 19 May...

View Article

Re: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

On Wed, Jun 17, 2015 at 1:33 AM, Sebastian Andrzej Siewior <bigeasy@linutronix.de> wrote: > wake_futex_pi() wakes the task before releasing the hash bucket lock > (HB). The first thing the...

View Article


Re: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

On Fri, 19 Jun 2015, Kevin Hilman wrote: > On Wed, Jun 17, 2015 at 1:33 AM, Sebastian Andrzej Siewior > A handful of boot test failures on ARM/OMAP were found by kernelci.org > in...

View Article

Re: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

Thomas Gleixner <tglx@linutronix.de> writes: > On Fri, 19 Jun 2015, Kevin Hilman wrote: >> On Wed, Jun 17, 2015 at 1:33 AM, Sebastian Andrzej Siewior >> A handful of boot test...

View Article


[tip:sched/locking] locking/rtmutex: Update stale plist comments

Commit-ID: 9f40a51a35a0e1445cc4873251c3df2631eda294 Gitweb: http://git.kernel.org/tip/9f40a51a35a0e1445cc4873251c3df2631eda294 Author: Davidlohr Bueso <dave@stgolabs.net> AuthorDate: Tue, 19 May...

View Article

[tip:sched/locking] futex: Lower the lock contention on the HB lock during...

Commit-ID: 802ab58da74bb49ab348d2872190ef26ddc1a3e0 Gitweb: http://git.kernel.org/tip/802ab58da74bb49ab348d2872190ef26ddc1a3e0 Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>...

View Article

Re: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

On Wed, 2015-06-17 at 16:28 +0200, Sebastian Andrzej Siewior wrote: > On 06/17/2015 04:17 PM, Mike Galbraith wrote: > > On Wed, 2015-06-17 at 10:33 +0200, Sebastian Andrzej Siewior wrote:...

View Article

RE: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

Hi Just in the list, I see the patch "[PATCH v2] futex: lower the lock contention on the HB lock during wake up" at...

View Article


RE: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

On Tue, 15 Sep 2015, Zhu Jefferry wrote: Please configure your e-mail client proper and follow the basic rules: - Choose a meaningful subject for your questions You just copied a random subject line...

View Article


RE: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

Thanks for your detail guideline and explanations. Please see my questions in-line. > -----Original Message----- > From: Thomas Gleixner [mailto:tglx@linutronix.de] > Sent: Wednesday,...

View Article

RE: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

On Wed, 16 Sep 2015, Zhu Jefferry wrote: > Thanks for your detail guideline and explanations. Please see my questions in-line. Please trim the reply to the relevant sections. It's annoying if I...

View Article

RE: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

> > I assume your pseudo code set_waiter_bit is mapped to the real code > > "futex_lock_pi_atomic", It's possible for futex_lock_pi_atomic to > > successfully set FUTEX_WAITERS bit,...

View Article


RE: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

On Wed, 16 Sep 2015, Zhu Jefferry wrote: > The application is a multi-thread program, to use the pairs of mutex_lock and > mutex_unlock to protect the shared data structure. The type of this...

View Article

RE: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

> On Wed, 16 Sep 2015, Zhu Jefferry wrote: > > The application is a multi-thread program, to use the pairs of > > mutex_lock and mutex_unlock to protect the shared data structure. The...

View Article

RE: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

On Wed, 16 Sep 2015, Zhu Jefferry wrote: > > > The primary debugging shows the content of __lock is wrong in first. > > > After a call of Mutex_unlock, the value of __lock should not...

View Article

RE: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

> On Wed, 16 Sep 2015, Zhu Jefferry wrote: > > > > The primary debugging shows the content of __lock is wrong in first. > > > > After a call of Mutex_unlock, the value of...

View Article



RE: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

On Wed, 16 Sep 2015, Zhu Jefferry wrote: > Besides the application did not check the return value, the mutex_unlock in > Libc did not check the return value from kernel neither. That's even...

View Article
Browsing latest articles
Browse All 40 View Live




Latest Images