Subject: Re: pointer atomicity
To: Chapman Flack <nblists@anastigmatix.net>
From: Andrey Petrov <petrov@NetBSD.org>
List: tech-kern
Date: 01/11/2006 14:43:25
On Wed, Jan 11, 2006 at 09:27:01PM +0000, David Laight wrote:
> On Wed, Jan 11, 2006 at 04:18:27PM -0500, Chapman Flack wrote:
> > Is there any port where the simple read or simple write
> > of a single pointer is nonatomic?
>
> i386 when the data is misaligned and crosses a page boundary and the
> second read faults.
>
Wouldn't failed instruction be repeated after page fault resolved?
-Andrey