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


Groups > linux.kernel > #1369302

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

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH] sched/deadline/rtmutex: Fix a PI crash for deadline tasks
Date 2016-04-01 15:20 +0200
Message-ID <rj79v-4RA-1@gated-at.bofh.it> (permalink)
References <rj57J-3qc-27@gated-at.bofh.it> <rj5AK-3Cg-13@gated-at.bofh.it> <rj6n9-4aM-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 1 April 2016 14:23:58 CEST, Xunlei Pang <xpang@redhat.com> wrote:

>>> We need this iff lock owner has the deadline priority.
>> How is this deadline specific, those functions you modify are
>> deadline/rt agnostic.
>
>I checked the code, currently only deadline accesses the
>pi_waiters/pi_waiters_leftmost
>without pi_lock held via rt_mutex_get_top_task(), other cases all have
>pi_lock held.
>
>So adding the condition.

How does that not suggest fixing the deadline code?
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

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


Thread

[PATCH] sched/deadline/rtmutex: Fix a PI crash for deadline tasks Xunlei Pang <xlpang@redhat.com> - 2016-04-01 13:10 +0200
  Re: [PATCH] sched/deadline/rtmutex: Fix a PI crash for deadline tasks Peter Zijlstra <peterz@infradead.org> - 2016-04-01 13:40 +0200
    Re: [PATCH] sched/deadline/rtmutex: Fix a PI crash for deadline tasks Xunlei Pang <xpang@redhat.com> - 2016-04-01 14:30 +0200
      Re: [PATCH] sched/deadline/rtmutex: Fix a PI crash for deadline tasks Peter Zijlstra <peterz@infradead.org> - 2016-04-01 15:20 +0200
        Re: [PATCH] sched/deadline/rtmutex: Fix a PI crash for deadline tasks Xunlei Pang <xpang@redhat.com> - 2016-04-01 15:40 +0200
          Re: [PATCH] sched/deadline/rtmutex: Fix a PI crash for deadline tasks Peter Zijlstra <peterz@infradead.org> - 2016-04-02 00:00 +0200
            Re: [PATCH] sched/deadline/rtmutex: Fix a PI crash for deadline tasks Xunlei Pang <xpang@redhat.com> - 2016-04-02 12:30 +0200

csiph-web