Re: Direct access to hardware

From: Horst von Brand (vonbrand@inf.utfsm.cl)
Date: Wed Jul 26 2000 - 09:15:38 EST


James Sutherland <jas88@cam.ac.uk> said:
> On 25 Jul 2000, Krzysztof Halasa wrote:

[...]

> > So what does the kernel (can) do to prevent this problem on defective
> > pentiums?

> Trap the defective instructions, and implement a replacement instruction
> in software.

How so? The kernel doesn't look at each instruction before it is
executed... it does clean up _after_ the fact, or arranges so that the bug
can be caught when it tries to bite (f00f case). This is _very_ different
from exhaustively checking beforehand (as is being adovocated here), and it
is done in cases where the fix is cheap (luckily).

-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:21 EST