Re: [RFC] prevent "dd if=/dev/mem" crash

From: Andrew Morton
Date: Fri Oct 17 2003 - 20:42:08 EST


Matt Chapman <matthewc@xxxxxxxxxxxxxxx> wrote:
>
> It *does* signal a fault, in the form of a machine check. On other
> architectures I'm familiar with this is usually implemented as an
> interrupt, but the idea is similar - when the system bus controller
> detects a bad address on the bus, it returns all 1s (for a read) and
> signals an interrupt.

I see. That seems OK. At least it means that software can implement a
probing function and that the time interval between hot unplug and handling
the unplug interrupt can be managed appropriately.


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