lkml.org 
[lkml]   [2013]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/5] sched: Avoid throttle_cfs_rq racing with period_timer stopping
On Wed, Oct 16, 2013 at 11:16:32AM -0700, Ben Segall wrote:
> +#ifdef CONFIG_CFS_BANDWIDTH
> + SEQ_printf(m, " .%-30s: %d\n", "tg->cfs_bandwidth.timer_active",
> + cfs_rq->tg->cfs_bandwidth.timer_active);
> + SEQ_printf(m, " .%-30s: %d\n", "throttled",
> + cfs_rq->throttled);
> + SEQ_printf(m, " .%-30s: %d\n", "throttle_count",
> + cfs_rq->throttle_count);
> +#endif

Not really your fault; but that function just cries for something like:

#define SEQ_cfs_rq(m, member) \
SEQ_printf(m, " .%-30s: %ld\n", #member, (long)cfs_rq->member)



\
 
 \ /
  Last update: 2013-10-17 01:41    [W:0.094 / U:3.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site