Messages in this thread |  | | Date | Wed, 10 Feb 2010 22:44:50 +0100 | From | Jiri Slaby <> | Subject | Re: [PATCH 1/1] kernel core: use helpers for rlimits fix |
| |
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
|  |