Re: [RFC 1/6] x86, NMI, Add symbol definition for NMI magic constants

From: huang ying
Date: Thu Sep 23 2010 - 05:51:29 EST


Hi, Don,

On Wed, Sep 22, 2010 at 5:48 AM, Don Zickus <dzickus@xxxxxxxxxx> wrote:
> On Fri, Sep 10, 2010 at 10:51:00AM +0800, Huang Ying wrote:
>> Replace the NMI related magic numbers with symbol constants.
>
> Hi Huang,
>
> Sorry for disappearing for a week..
>
> Ingo asked me to shepherd these patches. ÂI finally got around to do some
> testing on them. ÂI'll do some more tomorrow.

Thanks. I will post a new version in next week according to comments
collected so far.

> Anyway, I don't have a problem with patches 1-3 and 6 (I guess the rename
> and rename again doesn't really bother me and it kinda makes some logical
> sense).
>
> I am ok with most of patch 4 but I was wondering if you could split out
> the part of using other cpus to access the reason register. ÂTo me it seem
> like the nmi handler rewrite and allowing !bsp cpus to access the reason
> registers were two different ideas. ÂFor bisecting reasons it would be
> easier to seperate them in case we have problems with lost NMIs later. ÂIt
> would be easier to determine if the lost NMIs were from the rewrite or the
> migration of the reason register to other cpus.

Yes. It's reasonable, I will do it.

Best Regards,
Huang Ying
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/