[PATCH 00/01] Move Exit Connectors

From: Matt Helsley
Date: Thu Jan 05 2006 - 13:44:28 EST


On Wed, 2006-01-04 at 15:17 -0800, Andrew Morton wrote:
> Matt Helsley <matthltc@xxxxxxxxxx> wrote:
> >
> > > We need to move both proc_exit_connector(tsk) and
> > > cnstats_exit_connector(tsk) up to before exit_mm(tsk) statement.
> > > There are task statistics collected in task->mm and those stats
> > > will be lost after exit_mm(tsk).
> > >
> > > Thanks,
> > > - jay
> > >
> > > > exit_notify(tsk);
> > > > #ifdef CONFIG_NUMA
> > > > mpol_free(tsk->mempolicy);
> > > >-
> >
> > Good point. The assignment of the task exit code will also have to move
> > up before exit_mm(tsk) because the process event connector exit function
> > retrieves the exit code from the task struct.
>
> Could someone please volunteer to do the patch?

Here are two separate patches (not a series).

The first simply moves the process event connector north of exit_mm().
It applies to a clean 2.6.15 kernel. Please consider it for -mm.

The second patch moves both -- it's intended to be applied on top of
Shailabh's series of patches.

Cheers,
-Matt Helsley

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