Re: [PATCH] NMI notifiers for 2.5

Andi Kleen (ak@suse.de)
Thu, 5 Dec 2002 08:09:37 +0100


On Wed, Dec 04, 2002 at 01:54:13PM -0800, Stephen Hemminger wrote:
>
> > For a more comprehensive variant see include/asm-x86_64/kdebug.h
> > The x86-64 variant cannot be 1:1 copied because it's still incomplete
> > and e.g. does not implement veto for all places where it's needed.
> >
>
> Didn't look in x86_64 code. Would it just make more sense to turn this
> into an architecture independent mechanism and provide sample versions
> for x86_64 and i386?

Would seem like overkill to me.

notifiers are already architecture independent, that should be enough.

My experience so far is that one has to be very careful how to design
such hooks and the first versions of it usually don't survive
the actual implementation of an debugger or crash dumper.

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