Re: Bus Errors!

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Sun, 8 Feb 1998 16:59:47 +0100 (MET)


Richard B. Johnson wrote:
>
>
> The Intel machines allow access of any sized object at any alignment.
> They run faster if large objects are aligned on their natural boundaries.
>
> For this reason, Intel machines can't produce bus errors from unnatural
> alignments. Further, there are no bus signals (bits) that could possibly
> be operated in the event of some hardware generated error related to the
> bus.
>
> Therefore "bus errors" on Intel machines can't exist. However, some
> poorly-written code may use the SIGBUS signal in some improper way.

In theory: Yes. However in practise, the kernel generates sigbus for a
few special cases. (Look in the function "do_no_page" in mm/memory.c).

Roger.

-- 
If it's there and you can see it, it's REAL      |___R.E.Wolff@BitWizard.nl  |
If it's there and you can't see it, it's TRANSPARENT |  Tel: +31-15-2137555  |
If it's not there and you can see it, it's VIRTUAL   |__FAX:_+31-15-2138217  |
If it's not there and you can't see it, it's GONE! -- Roy Wilks, 1983  |_____|
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu