On Sun, Sep 29, 2002 at 05:08:07AM +0200, Andi Kleen wrote:
> I think you can easily do that by keeping state per cpu in the
> NMI handler.
You're quite right, it's simpler as well.
I had a distinct memory of not doing this because it wouldn't work
originally, but I forget what the reasoning was.
> smp_processor_id - per cpu data doesn't work from modules]
yes, which was why I don't use it already.
[Are there any advantages to per_cpu stuff over hand-coding, other
than readability ??]
thanks
john
-- "When your name is Winner, that's it. You don't need a nickname." - Loser Lane - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Sep 30 2002 - 22:00:39 EST