From: Ingo Molnar <mingo@elte.hu>
To: Paul Mackerras <paulus@samba.org>
Cc: linux-kernel@vger.kernel.org, Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH] perf_counter: Always schedule all software counters in
Date: Mon, 12 Jan 2009 10:14:52 +0100 [thread overview]
Message-ID: <20090112091452.GH26750@elte.hu> (raw)
In-Reply-To: <18794.55122.441686.553409@drongo.ozlabs.ibm.com>
* Paul Mackerras <paulus@samba.org> wrote:
> Software counters aren't subject to the limitations imposed by the fixed
> number of hardware counter registers, so there is no reason not to
> enable them all in __perf_counter_sched_in. Previously we used to break
> out of the loop when we got to a group that wouldn't fit on the PMU;
> with this we continue through the list but only schedule in software
> counters (or groups containing only software counters) from there on.
yeah, makes sense.
> Signed-off-by: Paul Mackerras <paulus@samba.org>
> ---
> This is also available in my perfcounters git tree (master branch) at
> git://git.kernel.org/pub/scm/linux/kernel/git/paulus/perfcounters.git
Pulled into tip/perfcounters/core, thanks Paul!
Ingo
prev parent reply other threads:[~2009-01-12 9:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-12 5:38 Paul Mackerras
2009-01-12 9:14 ` Ingo Molnar [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=20090112091452.GH26750@elte.hu \
--to=mingo@elte.hu \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.org \
--cc=tglx@linutronix.de \
/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
all inboxes | Powered by JetHome®