[lkml]   [2007]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH/RFC] signal races/bugs, losing TIF_SIGPENDING and other woes
    On Tue, 2007-06-05 at 15:50 -0700, Davide Libenzi wrote:
    > > What about the code in __dequeue_signal though ? That notifier thing
    > is
    > > used by the DRI though I'm not sure what would happen if it acts on
    > the
    > > wrong task.
    > Hmm, looking at the comments in block_all_signals(), it seems that
    > they're
    > interested in the fact that a specific task dequeue the signal. So,
    > at
    > a first sight, it seems that such code should not not be executed if
    > another task dequeue the message. What do you think?

    Yes, I think the idea is that the DRM uses that to prevent signals to be
    delivered to the task that is blocking them with the notifier (I have no
    idea why they can't use the normal block mecanism for that... looks like
    a hack to me).

    So I suppose it's fine, as long as you add a test of tsk == current to
    avoid calling it.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-06-06 01:03    [W:0.018 / U:44.976 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site