Messages in this thread | | | From | Roland McGrath <> | Subject | Re: [PATCH 2/5] exec: simplify ->sighand switching | Date | Sat, 18 Aug 2007 16:10:53 -0700 (PDT) |
| |
> There is no any reason to do recalc_sigpending() after changing ->sighand. > To begin with, recalc_sigpending() does not take ->sighand into account.
I agree. I think that call dates from before some other cleanups in that code, when ->signal was changed there. At the time, it was the most conservative change to leave recalc_sigpending in case the side effects it used to have were desireable (we've since decided to change those anyway).
Thanks, Roland - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |