Re: [PATCH] -mm check_rlimit oops on p->signal

From: Hugh Dickins
Date: Mon Nov 15 2004 - 19:11:21 EST


On Mon, 15 Nov 2004, Andrew Morton wrote:
> Hugh Dickins <hugh@xxxxxxxxxxx> wrote:
> >
> > + if (likely(p->signal && p->exit_state < EXIT_ZOMBIE)) {
>
> Worried. This places an ordering interpretation on TASK_* and EXIT_* which
> AFAIK hadn't been there beforehand. If someone later comes along and adds

I understand your concern, but kernel/exit.c already contained several
tests for "exit_state >= EXIT_ZOMBIE", so I followed those precedents.

Hugh

-
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/