From: Oleg Nesterov Date: Wed, 27 Apr 2011 17:54:20 +0000 (+0200) Subject: signal: sigprocmask: narrow the scope of ->siglock X-Git-Tag: v3.0-rc1~382^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73ef4aeb61b53fce464a7e24ef03a26f98b2f617;p=pandora-kernel.git signal: sigprocmask: narrow the scope of ->siglock 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. 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 Reviewed-by: Matt Fleming Acked-by: Tejun Heo --- Reading git-diff-tree failed