lkml.org 
[lkml]   [2011]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch 05/15] sched: unthrottle cfs_rq(s) who ran out of quota at period refresh
FromPeter Zijlstra <>
DateTue, 05 Apr 2011 15:28:19 +0200
On Tue, 2011-03-22 at 20:03 -0700, Paul Turner wrote:
> +#ifdef CONFIG_SMP
> +static inline const struct cpumask *sched_bw_period_mask(void)
> +{
> + return cpu_rq(smp_processor_id())->rd->span;
> +}
> +#else
> +static inline const struct cpumask *sched_bw_period_mask(void)
> +{
> + return cpu_online_mask;
> +}
> +#endif

insert rant about merging cpusets into the sched and memcg
controllers :-)


\
 
 \ /
  Last update: 2011-04-05 15:31    [from the cache]
©2003-2010