Re: [PATCH 5/8] signal: flatten do_send_sig_info()

From: Al Viro
Date: Mon May 28 2018 - 10:15:47 EST


On Mon, May 28, 2018 at 03:49:13PM +0200, Christian Brauner wrote:
> Let's return early when lock_task_sighand() fails and move send_signal()
> and unlock_task_sighand() out of the if block.

Why is it an improvement?