From: Paul E. McKenney Date: Mon, 5 May 2014 15:18:30 +0000 (-0700) Subject: signal: Explain local_irq_save() call X-Git-Tag: cleanup-for-v3.18~139^2^2~1^2~14 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c41247e1d4864c863ee25e029dd53acdb2abc000;p=pandora-kernel.git signal: Explain local_irq_save() call The explicit local_irq_save() in __lock_task_sighand() is needed to avoid a potential deadlock condition, as noted in a841796f11c90d53 (signal: align __lock_task_sighand() irq disabling and RCU). However, someone reading the code might be forgiven for concluding that this separate local_irq_save() was completely unnecessary. This commit therefore adds a comment referencing the shiny new block comment on rcu_read_unlock(). Reported-by: Oleg Nesterov Signed-off-by: Paul E. McKenney Acked-by: Oleg Nesterov Reviewed-by: Lai Jiangshan --- Reading git-diff-tree failed