From: Pavel Machek <pavel@suse.cz>
To: John Levon <levon@movementarian.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Switch APIC to driver model (and make S3 sleep with APIC on)
Date: Wed, 5 Feb 2003 22:39:19 +0100 [thread overview]
Message-ID: <20030205213918.GA19615@elf.ucw.cz> (raw)
In-Reply-To: <20030203234307.GA18528@compsoc.man.ac.uk>
Hi!
> > Unfortunately my systems seems to miss bfd.h, required by libutil++.
>
> The debian package is apparently called binutils-dev
Thanx. oprofile now seems to work for me.
> > > I haven't seen where you added these checks. They did not exist before:
> > > oprofile took responsibility for the NMI/perfctr handling off the NMI
> > > watchdog entirely, then handed it back when oprofile finished.
> >
> > Ouch, I did not see that code. It seems not to be in nmi_int.c; where
> > is that?
>
> oprofile saves the perfctr config when it starts in nmi_int.c, then
> calls the set_nmi_pm_callback. Then the suspend/resume calls oprofile's,
> and we assume we have unique access to controlling the generated NMIs
> (ie it becomes oprofile's job to ensure no NMIs are generated by the
> perfctrs whilst suspended).
I can see set_nmi_pm_callback() in nmi_setup(), but can not see where
nmi.c's pm_callback is restored in nmi_shutdown(). Perhaps that's a
bug?
> It's pretty ugly, so a correct cleanup would be appreciated.
>
> I suppose this is quite an unusual case for the PM model ?
Yes, it is pretty unusual.
Pavel
--
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?
next prev parent reply other threads:[~2003-02-07 11:04 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-28 1:21 Mikael Pettersson
2003-01-28 9:26 ` Pavel Machek
2003-02-02 12:42 ` Pavel Machek
2003-02-03 10:32 ` John Levon
2003-02-03 15:40 ` Pavel Machek
2003-02-03 20:20 ` John Levon
2003-02-03 21:18 ` Pavel Machek
2003-02-03 23:43 ` John Levon
2003-02-05 21:39 ` Pavel Machek [this message]
2003-02-07 11:18 ` John Levon
2003-02-03 12:02 ` Zwane Mwaikambo
2003-02-04 22:55 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2003-01-28 12:19 Mikael Pettersson
2003-01-29 20:18 ` Pavel Machek
2003-01-29 22:42 ` John Levon
2003-01-29 22:51 ` Pavel Machek
2003-01-20 22:25 Pavel Machek
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=20030205213918.GA19615@elf.ucw.cz \
--to=pavel@suse.cz \
--cc=levon@movementarian.org \
--cc=linux-kernel@vger.kernel.org \
/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®