Re: [PATCH] do_sigaction: remove now unneeded recalc_sigpending()

From: Roland McGrath
Date: Thu Aug 02 2007 - 18:41:10 EST


> With the recent changes, do_sigaction()->recalc_sigpending_and_wake() can
> never clear TIF_SIGPENDING. Instead, it can set this flag and wake up the
> thread without any reason. Harmless, but unneeded and wastes CPU.
>
> Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>

ACK. (We agreed months ago this was the thing to do.)


Thanks,
Roland
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/