Re: [PATCH] WTF is VLI?
From: Avi Kivity
Date: Thu Nov 18 2004 - 18:44:47 EST
Horst von Brand wrote:
ksymoops can disasemble the entire code line, but starting at different
offsets (up to the maximum instruction length) from the start. the first
disassembly to include the program counter in the output would be deemed
correct.
There might be several... I see no reason to consider the first one
correct.
Of course, there is no way to guarantee correctness. the point is with
the current system the chances of being correct are around 1:(average
instruction length) (a bit better because there is a chance to resync),
while with my proposal to be _incorrect_ you need to start wrong _and_
hit a bad resync.
I don't get to see many oopsen, but it seems to me most would have
garbage before eip, no?
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
-
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/