• T
    signals: Fix more rcu assumptions · 7cf7db8d
    Thomas Gleixner 提交于
    1) Remove the misleading comment in __sigqueue_alloc() which claims
       that holding a spinlock is equivalent to rcu_read_lock().
    
    2) Add a rcu_read_lock/unlock around the __task_cred() access
       in __sigqueue_alloc()
    
    This needs to be revisited to remove the remaining users of
    read_lock(&tasklist_lock) but that's outside the scope of this patch.
    Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
    LKML-Reference: <20091210004703.269843657@linutronix.de>
    7cf7db8d
signal.c 67.8 KB