[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101027195352.996250316@openvz.org>
Date: Wed, 27 Oct 2010 23:53:53 +0400
From: Cyrill Gorcunov <gorcunov@...nvz.org>
To: linux-kernel@...r.kernel.org,
"Maciej W. Rozycki" <macro@...ux-mips.org>
Cc: Ingo Molnar <mingo@...e.hu>, "H. Peter Anvin" <hpa@...or.com>,
Suresh Siddha <suresh.b.siddha@...el.com>,
Thomas Gleixner <tglx@...utronix.de>,
Yinghai Lu <yinghai@...nel.org>,
Don Zickus <dzickus@...hat.com>
Subject: [rfc -tip 0/2] Implementing self IPI with NMI destination
Here is self-IPI with NMI destination implemented. Don was testing
perf NMI's and we found that we don't have a simple call for self-nmi IPI.
So there is two way of implementing such facility:
1) Make .send_IPI_self to check for NMI_VECTOR in arguments
and convert this call internally to NMI IPI with self in
destination.
2) Make a separate .send_IPI_self_nmi function and call it only
if needed.
The series implements 1st choise but I tend to think that 2nd might
be more preferred since it would not bring overhead into .send_IPI_self
and would make code a bit less messed.
Anyway, this series is not for merging yet but rather to collect
complains about this approach. And to be fair we seem don't have
x2apic machine at moment so x2apic mode is not tested at all.
In short -- please check and review this two patches. Anything
is welcome ;)
Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists