lkml.org 
[lkml]   [2005]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Re: 2.6.12: itimer_real timers don't survive execve() any more
On Thu, Aug 04, 2005 at 03:02:51PM -0700, Andrew Morton wrote:
> Roland McGrath <roland@redhat.com> wrote:
> >
> > That's wrong. It has to be done only by the last thread in the group to go.
> > Just revert Ingo's change.
> >
>
> OK..
>
> +++ 25-akpm/kernel/exit.c Thu Aug 4 15:01:06 2005
> @@ -829,8 +829,10 @@ fastcall NORET_TYPE void do_exit(long co
> - if (group_dead)
> + if (group_dead) {
> + del_timer_sync(&tsk->signal->real_timer);
> acct_process(code);
> + }
> +++ 25-akpm/kernel/posix-timers.c Thu Aug 4 15:01:06 2005
> @@ -1166,7 +1166,6 @@ void exit_itimers(struct signal_struct *
> - del_timer_sync(&sig->real_timer);

That one fixes it for me.

Gerd

--
panic("it works"); /* avoid being flooded with debug messages */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-05 10:48    [W:0.061 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site