mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stanislaw Gruszka <sgruszka@redhat.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Oleg Nesterov <oleg@redhat.com>,
	Peter Zijlstra <a.p.zijlstra@chello.nl>,
	Ingo Molnar <mingo@elte.hu>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH resend4 1/3] itimers: merge ITIMER_VIRT and ITIMER_PROF common code
Date: Fri, 22 May 2009 16:15:31 +0200	[thread overview]
Message-ID: <20090522161531.116526c2@dhcp-lab-109.englab.brq.redhat.com> (raw)
In-Reply-To: <alpine.LFD.2.00.0905221600210.3570@localhost.localdomain>

Hi.

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

      reply	other threads:[~2009-05-22 14:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-22 13:43 Stanislaw Gruszka
2009-05-22 14:08 ` Thomas Gleixner
2009-05-22 14:15   ` Stanislaw Gruszka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090522161531.116526c2@dhcp-lab-109.englab.brq.redhat.com \
    --to=sgruszka@redhat.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=oleg@redhat.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®