From: John Levon <levon@movementarian.org>
To: linux-kernel@vger.kernel.org
Cc: mikpe@csd.uu.se
Subject: Re: kernel api for application profiling
Date: Sun, 13 Oct 2002 23:26:36 +0100 [thread overview]
Message-ID: <20021013222636.GA2289@compsoc.man.ac.uk> (raw)
In-Reply-To: <200210132217.AAA07121@harpo.it.uu.se>
On Mon, Oct 14, 2002 at 12:17:23AM +0200, Mikael Pettersson wrote:
> The HW resources in question are the local APIC LVTPC entry
> and the performance counter MSRs. Agreed?
Right.
> The NMI watchdog can either be special-cased so that the resource
> manager knows that it is a low-priority default owner of the HW,
> or we can try to encode this in the interface to the manager, using
> callbacks like "are you willing to release the HW?" and results
> like "yes, but please call this FUNC when you're done with the HW".
I've been thinking along the exact same lines. I even started to
implement something like this originally, but ended up doing a simpler
save/restore thing in oprofile. It would be fairly easy to implement,
the biggest difficulty being the hand-off of the power management
routines and the NMI handler where appropriate.
I agree that it doesn't make sense to split up the resources (though at
some point I'd like to maintain the watchdog functionality even with
oprofile running). In fact, for now, I think the simple exclusive CONFIG
solution is the simplest - the things don't get on together, after all.
regards
john
--
"That's just kitten-eating wrong."
- Richard Henderson
next prev parent reply other threads:[~2002-10-13 22:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-13 22:17 kernel api for application profiling Mikael Pettersson
2002-10-13 22:26 ` John Levon [this message]
2002-10-14 2:45 ` James Courtier-Dutton
2002-10-14 17:29 ` John Levon
-- strict thread matches above, loose matches on Subject: below --
2002-10-13 13:28 Mikael Pettersson
2002-10-13 15:56 ` John Levon
2002-10-13 11:08 James Courtier-Dutton
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=20021013222636.GA2289@compsoc.man.ac.uk \
--to=levon@movementarian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mikpe@csd.uu.se \
/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