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


Groups > linux.kernel > #1422067

Re: [RFC][PATCH 2/8] sched/rtmutex/deadline: Fix a PI crash for deadline tasks

From Juri Lelli <juri.lelli@arm.com>
Newsgroups linux.kernel
Subject Re: [RFC][PATCH 2/8] sched/rtmutex/deadline: Fix a PI crash for deadline tasks
Date 2016-06-14 18:40 +0200
Message-ID <rJZxD-7jp-5@gated-at.bofh.it> (permalink)
References <rHvDI-7fg-35@gated-at.bofh.it> <rHvNo-7ix-27@gated-at.bofh.it> <rJTLA-3z3-33@gated-at.bofh.it> <rJW6K-4Wd-29@gated-at.bofh.it> <rJWgp-5eJ-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 14/06/16 14:07, Juri Lelli wrote:
> On 14/06/16 20:53, Xunlei Pang wrote:
> > On 2016/06/14 at 18:21, Juri Lelli wrote:
> > > Hi,
> > >
> > > On 07/06/16 21:56, Peter Zijlstra wrote:
> > >> From: Xunlei Pang <xlpang@redhat.com>
> > >>

[...]

> > > The idea of this fix makes sense to me. But, I would like to be able to
> > > see the BUG and test the fix. What I have is a test in which I create N
> > > DEADLINE workers that share a PI mutex. They get migrated around and
> > > seem to stress PI code. But I couldn't hit the BUG yet. Maybe I let it
> > > run for some more time.
> > 
> > You can use this reproducer attached(gcc crash_deadline_pi.c -lpthread -lrt ).
> > Start multiple instances, then it will hit the bug very soon.
> > 
> 
> Great, thanks! I'll use it.
> 

OK. I could reproduce and also test that I can't see the BUG anymore
with the fix.

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


Thread

Re: [RFC][PATCH 2/8] sched/rtmutex/deadline: Fix a PI crash for  deadline tasks Juri Lelli <juri.lelli@arm.com> - 2016-06-14 12:30 +0200
  Re: [RFC][PATCH 2/8] sched/rtmutex/deadline: Fix a PI crash for  deadline tasks Peter Zijlstra <peterz@infradead.org> - 2016-06-14 14:40 +0200
  Re: [RFC][PATCH 2/8] sched/rtmutex/deadline: Fix a PI crash for  deadline tasks Xunlei Pang <xpang@redhat.com> - 2016-06-14 15:00 +0200
    Re: [RFC][PATCH 2/8] sched/rtmutex/deadline: Fix a PI crash for  deadline tasks Juri Lelli <juri.lelli@arm.com> - 2016-06-14 15:10 +0200
      Re: [RFC][PATCH 2/8] sched/rtmutex/deadline: Fix a PI crash for  deadline tasks Juri Lelli <juri.lelli@arm.com> - 2016-06-14 18:40 +0200

csiph-web