Re: TSCs are a no-no on i386

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Jul 31 2003 - 11:01:45 EST


On Iau, 2003-07-31 at 16:10, Jamie Lokier wrote:
> > And if the byte you are looking at was patched by another thread you've
> > blown it. Your emulation can only be so good 8) People do stuff like
> > patching instructions under software decode as a robustness check - its
> > normally pretty amusing
>
> On a uniprocessor 386, this is not a problem. Just disable preemption
> in the kernel decoder.

Wrong again. Thats a common myth but you see I can put the instruction on a page
so that its executed from a page I just did a read() into in another process. If
I'm really bored I'll use O_DIRECT but thats mostly for makign life really bad
for non cache coherent setups 8)

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



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:50 EST