Re: Does Flushing the Queue after PG REALLY a Necessity?
From: H. Peter Anvin
Date: Mon Feb 23 2004 - 22:12:24 EST
Coywolf Qi Hunt wrote:
>
The problem is there's two jumps in the kernel. Intel's manual only asks
for "Execute a near JMP instruction".
A far JMP is definitely sufficient, and serves to normalize EIP as well.
I have uploaded a patch which also preinitializes the GDT, which may
make the VISWS code a bit less of a special case.
ftp://ftp.kernel.org/pub/linux/kernel/people/hpa/earlymem-4.diff
If no any reason for the two jumps, the code should be fixed to remains
only ONE near jump.
Why are you so obsessed with minimality? The performance of this code
matters not one bit.
-hpa
-
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/