Re: [PATCH]: uClinux (MMU-less) patches against 2.5.28

Alan Cox
2002-07-26T13:33:46Z

On Fri, 2002-07-26 at 10:58, David Woodhouse wrote:
>
> alan@lxorguk.ukuu.org.uk said:
> > Now consider two events each locking the page the other wishes to
> > write to. At that point you may want to stop digging any deeper holes
>
> Maybe, but only if we can come up with a better alternative.
>
> Bear in mind that XIP is not for general-purpose use, and strict
> restrictions on what you can do with it are not unreasonable. Assume we
> remove O_DIRECT support entirely from any kernel which supports XIP. Then
> what breaks?

Anything where you rely on locking the pages and can get a loop of
locked/absent pages and deadlock