public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jiri Slaby <jirislaby@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>,
	Veaceslav Falico <vfalico@redhat.com>
Subject: Re: [PATCH 1/1] kernel core: use helpers for rlimits fix
Date: Wed, 10 Feb 2010 22:44:50 +0100	[thread overview]
Message-ID: <4B7328D2.8050002@gmail.com> (raw)
In-Reply-To: <20100210121009.a48ed15c.akpm@linux-foundation.org>

On 02/10/2010 09:10 PM, Andrew Morton wrote:
> static void posix_cpu_timers_init_group(struct signal_struct *sig)
> {
> 	unsigned long cpu_limit;
> 
> 	/* Thread group counters. */
> 	thread_group_cputime_init(sig);
> 
> 	cpu_limit = ACCESS_ONCE(sig->rlim[RLIMIT_CPU].rlim_cur);
> 	if (cpu_limit != RLIM_INFINITY) {
> 		sig->cputime_expires.prof_exp = secs_to_cputime(cpu_limit);
> 		sig->cputimer.running = 1;
> 	}

FWIW ack.

thanks,
-- 
js

      reply	other threads:[~2010-02-10 21:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-10 19:59 [PATCH 1/1] kernel core: use helpers for rlimits fix Jiri Slaby
2010-02-10 20:10 ` Andrew Morton
2010-02-10 21:44   ` Jiri Slaby [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=4B7328D2.8050002@gmail.com \
    --to=jirislaby@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=vfalico@redhat.com \
    /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