Re: [PATCH] x86: Implement __WARN using UD0

From: Ingo Molnar
Date: Fri Feb 24 2017 - 04:15:51 EST



* hpa@xxxxxxxxx <hpa@xxxxxxxxx> wrote:

> Incidentally, as an alternative to a #UD, int $9 could be an alternative
> (exception vector 9 was discontinued with the 486.)

With thousands of call sites a one byte opcode would be preferred, that's why INT3
is so nice.

Thanks,

Ingo