[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lse-tech
Subject:    [Lse-tech] Re: [PATCH 00/01] Move Exit Connectors
From:       Andrew Morton <akpm () osdl ! org>
Date:       2006-01-05 23:10:16
Message-ID: 20060105151016.732612fd.akpm () osdl ! org
[Download RAW message or body]

Matt Helsley <matthltc@us.ibm.com> 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 <matthltc@us.ibm.com>
> 
>  --
> 
>  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...




-------------------------------------------------------
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
_______________________________________________
Lse-tech mailing list
Lse-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lse-tech
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic