Re: [PATCH 00/01] Move Exit Connectors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux