Re: [PATCH 5/6] x86, NMI: Allow NMI reason io port (0x61) to be processedon any CPU

From: Cyrill Gorcunov
Date: Sun Feb 27 2011 - 06:19:22 EST


On 02/27/2011 04:01 AM, huang ying wrote:
...

Probably we should put question in another fashion, ie in the fasion of
overall design -- who should be
responsible for handling external nmis, 1) the cpu which apic is configured
to observe such nmis or 2) any cpu?
If we take 1) then no lock is needed and underlied code will report real cpu
number who observed nmi. If
we take 2) then lock is needed but we need a big comment in default_do_nmi
together with probably cpu number
fixed in serr\iochk printk's.

I am OK with both solutions.

Best Regards,
Huang Ying

ok, lets see what others think on this thread

--
Cyrill
--
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/