On Thu, 2006-01-05 at 15:10 -0800, Andrew Morton wrote:
> Matt Helsley <[EMAIL PROTECTED]> wrote:
> >
> >     This patch moves both the process exit event and per-process stats
> >  connectors above exit_mm() since the latter needs values from the
> >  mm_struct which will be lost after exit_mm().
> > 
> >  Signed-off-by: Matt Helsley <[EMAIL PROTECTED]>
> > 
> >  --
> > 
> >  Index: linux-2.6.15/kernel/exit.c
> >  ===================================================================
> >  --- linux-2.6.15.orig/kernel/exit.c
> >  +++ linux-2.6.15/kernel/exit.c
> >  @@ -845,10 +845,14 @@ fastcall NORET_TYPE void do_exit(long co
> >     if (group_dead) {
> >             del_timer_sync(&tsk->signal->real_timer);
> >             exit_itimers(tsk->signal);
> >             acct_process(code);
> >     }
> >  +
> >  +  tsk->exit_code = code;
> >  +  proc_exit_connector(tsk);
> >  +  cnstats_exit_connector(tsk);
> 
> cnstats_exit_connector() doesn't exist yet...

        Right. I forgot to repeat what I mentioned in the parent email -- that
this patch is intended to be applied on top of Shailabh's patches.

        The first patch I posted (01/01) is intended for plain 2.6.15. Before
proposing 01/01 for -mm I've been trying to see if there are any
problems with the value of tsk->exit_signal before exit_mm() -- hence
the "[RFC]" in the subject line of that one.

Thanks,
        -Matt Helsley



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to