[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.0905221600210.3570@localhost.localdomain>
Date: Fri, 22 May 2009 16:08:34 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Stanislaw Gruszka <sgruszka@...hat.com>
cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Oleg Nesterov <oleg@...hat.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Ingo Molnar <mingo@...e.hu>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH resend4 1/3] itimers: merge ITIMER_VIRT and ITIMER_PROF
common code
Stanislaw,
On Fri, 22 May 2009, Stanislaw Gruszka wrote:
> --- a/kernel/fork.c
> +++ b/kernel/fork.c
> @@ -790,10 +790,10 @@ static void posix_cpu_timers_init_group(struct signal_struct *sig)
> thread_group_cputime_init(sig);
>
> /* Expiration times and increments. */
> - sig->it_virt_expires = cputime_zero;
> - sig->it_virt_incr = cputime_zero;
> - sig->it_prof_expires = cputime_zero;
> - sig->it_prof_incr = cputime_zero;
> + sig->it[0].expires = cputime_zero;
> + sig->it[0].incr = cputime_zero;
> + sig->it[1].expires = cputime_zero;
> + sig->it[1].incr = cputime_zero;
Nit, can we please use CPUCLOCK_PROF/VIRT instead of 0/1 ?
Thanks,
tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists