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


Groups > linux.kernel > #1690185

Re: [PATCH] osq_lock: avoid live-lock issue for RT task

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH] osq_lock: avoid live-lock issue for RT task
Date 2017-07-18 13:40 +0200
Message-ID <u4z18-1Qn-35@gated-at.bofh.it> (permalink)
References <u39iq-4cF-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Jul 14, 2017 at 07:19:09PM +0530, Prateek Sood wrote:
> Live Lock  due to task spinning while unqueue of CPU osq_node
> from optimistic_spin_queue. Task T1 had decremented mutex count to
> acquire the lock on CPU0. Before setting owner it got preempted.

You've been working on ancient kernels... That can no longer happen.

Please see if this is still an issue after:

  3ca0ff571b09 ("locking/mutex: Rework mutex::owner")

If so, please write an up-to-date Changelog and patch (it doesn't
apply because of commit

  5aff60a191e5 ("locking/osq: Break out of spin-wait busy waiting loop for a preempted vCPU in osq_lock()")

)

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] osq_lock: avoid live-lock issue for RT task Prateek Sood <prsood@codeaurora.org> - 2017-07-14 16:00 +0200
  Re: [PATCH] osq_lock: avoid live-lock issue for RT task Peter Zijlstra <peterz@infradead.org> - 2017-07-18 13:40 +0200

csiph-web