lkml.org 
[lkml]   [2006]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Why can't I set the priority of softirq-hrt? (Re: 2.6.17-rt1)

    On Tue, 20 Jun 2006, Esben Nielsen wrote:

    >
    > > I have to check, whether the priority is propagated when the softirq is
    > > blocked on a lock. If not its a bug and has to be fixed.
    >
    > I think the simplest solution would be to add
    >
    > if (p->blocked_on)
    > wake_up_process(p);
    >
    > in __setscheduler().
    >

    Except that wake_up_process calls try_to_wakeup which grabs the runqueue
    lock, which unfortunately is already held when __setscheduler is called.

    -- Steve

    -
    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/

    \
     
     \ /
      Last update: 2006-06-21 10:22    [W:4.394 / U:0.068 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site