lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090522161531.116526c2@dhcp-lab-109.englab.brq.redhat.com>
Date:	Fri, 22 May 2009 16:15:31 +0200
From:	Stanislaw Gruszka <sgruszka@...hat.com>
To:	Thomas Gleixner <tglx@...utronix.de>
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

Hi.

On Fri, 22 May 2009 16:08:34 +0200 (CEST)
Thomas Gleixner <tglx@...utronix.de> wrote:
> 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 ?

I wanted to avoid including <linux/posix-timers.h> here.
 
Cheers
Stanislaw
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ