Re: [PATCH] Pentium Pro - sysenter - doublefault

From: Jamie Lokier
Date: Mon Aug 25 2003 - 00:53:05 EST


Jakob Oestergaard wrote:
> > Jim you can answer this as you have such a Ppro. Could you please run
> > this very simple userspace program for me, and report the result?
> >
> > int main() { __asm__ ("sysenter"); return 0; }
>
> I tested on two boxes:
>
> Stepping 1 ppro: SIGSEGV
> Stepping 7 ppro: SIGSEGV

Thank you!

So that means the sysenter instruction _does_ exist on the PPro and
early Pentium II, but it isn't usable.

It's safe so long as it is disabled, but as you found, when you enable
and use it, it doesn't work as expected. (I wonder what the actual
behaviour of sysenter/sysexit are on these CPUs.)

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