Re: [PATCH] coredump: kill mm->core_done

From: Oleg Nesterov
Date: Sun Jul 20 2008 - 04:48:20 EST


On 07/19, Roland McGrath wrote:
>
> It is indeed ugly. I think the place to start is with moving all the
> coredump code out of exit_mm() into a new subfunction that is just passed
> the mm pointer, and doing the same with coredump_finish() as you've done,
> but leaving the completion logic inside those functions the same.

The next patch does this.

This patch goes first because it kills the last field in mm_struct which
is needed for the coredump code, so new new function (exit_coredump) doesn't
need the mm pointer at all.

Oleg.

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