public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Ben Segall <bsegall@google.com>
Cc: mingo@redhat.com, pjt@google.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 5/5] sched: Avoid throttle_cfs_rq racing with period_timer stopping
Date: Thu, 17 Oct 2013 00:06:09 +0200	[thread overview]
Message-ID: <20131016220609.GN10651@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <20131016181632.22647.84174.stgit@sword-of-the-dawn.mtv.corp.google.com>

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)


  reply	other threads:[~2013-10-16 22:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-16 18:16 [PATCH 0/5] Fix several races in CFS_BANDWIDTH Ben Segall
2013-10-16 18:16 ` [PATCH 1/5] sched: Fix race on toggling cfs_bandwidth_used Ben Segall
2013-10-29 14:07   ` [tip:sched/core] " tip-bot for Ben Segall
2013-10-16 18:16 ` [PATCH 2/5] sched: Fix cfs_bandwidth misuse of hrtimer_expires_remaining Ben Segall
2013-10-16 18:41   ` Peter Zijlstra
2013-10-16 19:12     ` bsegall
2013-10-29 14:07   ` [tip:sched/core] " tip-bot for Ben Segall
2013-10-16 18:16 ` [PATCH 3/5] sched: Fix hrtimer_cancel/rq->lock deadlock Ben Segall
2013-10-29 14:07   ` [tip:sched/core] sched: Fix hrtimer_cancel()/rq->lock deadlock tip-bot for Ben Segall
2013-10-16 18:16 ` [PATCH 4/5] sched: Guarantee new group-entities always have weight Ben Segall
2013-10-16 22:01   ` Peter Zijlstra
2013-10-16 22:16     ` Paul Turner
2013-10-16 22:22       ` Peter Zijlstra
2013-10-16 22:40     ` bsegall
2013-10-29 14:07   ` [tip:sched/core] " tip-bot for Paul Turner
2013-10-16 18:16 ` [PATCH 5/5] sched: Avoid throttle_cfs_rq racing with period_timer stopping Ben Segall
2013-10-16 22:06   ` Peter Zijlstra [this message]
2013-10-29 14:07   ` [tip:sched/core] sched: Avoid throttle_cfs_rq() " tip-bot for Ben Segall

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=20131016220609.GN10651@twins.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=bsegall@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=pjt@google.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