From: Oza Oza <ozaoza1982@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: [PROPOSAL] NMI & register handling infrastructure
Date: Tue, 11 May 2010 10:21:43 +0530 (IST) [thread overview]
Message-ID: <214673.68504.qm@web95620.mail.in.yahoo.com> (raw)
Hi,
This is my first post to the group, please excuse me, If I unknowingly miss to follow writing ethics.
Proposal/Need:
I was working on providing accurate process usage support, and writing a kernel module,
I configured cpu-core-unhalted-event and configured LVT (local vector table) with NMI (non-maskable interrupt), and surprisingly Oprofile stopped working,
Then I realized, that set_nmi_call back just overwrites nmi_callback function pointer.
My proposal/idea/thinking is;
have a kernel module which accepts NMI registration from any kernel component, and providing support to the the any kernel service which basically need to service NMI.
It may not only supports this, but also can provide central infrastructure which has capabilities such as granting MSR (model specific register) access to the the modules, which may avoid potential clash of MSRs (e.g. two modules are trying to configure same MSR), control NMI registration-unregisteration events etc..
I am not sure, whether this is a good idea or bad idea, but I thought it adds flexibility and some value addition in kernel,
and I find this place precisely right to post this idea.
Any feedback/suggestions/additions would be appreciated.
Regards,
Oza.
next reply other threads:[~2010-05-11 5:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-11 4:51 Oza Oza [this message]
2010-05-24 9:49 ` [PROPOSAL] NMI & register clash handling infrastructure Oza Oza
-- strict thread matches above, loose matches on Subject: below --
2010-05-18 6:36 [ !! PROPOSAL !! ] NMI & register " Oza Oza
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=214673.68504.qm@web95620.mail.in.yahoo.com \
--to=ozaoza1982@yahoo.com \
--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