lkml.org 
[lkml]   [2011]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 4/7] signal: sigprocmask: narrow the scope of ->siglock
    On Mon, Apr 18, 2011 at 03:45:38PM +0200, Oleg Nesterov wrote:
    > No functional changes, preparation to simplify the review of the next change.
    >
    > 1. We can read current->block lockless, nobody else can ever change this mask.

    current->blocked

    >
    > 2. Calculate the resulting sigset_t outside of ->siglock into the temporary
    > variable, then take ->siglock and change ->blocked.
    >
    > Also, kill the stale comment about BKL.
    >
    > Signed-off-by: Oleg Nesterov <oleg@redhat.com>

    Acked-by: Tejun Heo <tj@kernel.org>

    Thanks.

    --
    tejun


    \
     
     \ /
      Last update: 2011-04-25 13:07    [W:0.019 / U:59.132 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site