lkml.org 
[lkml]   [2009]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-05-22 16:13    [W:0.060 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site