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

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Jul 26 2002 - 05:56:04 EST


On Fri, 2002-07-26 at 10:39, David Woodhouse wrote:
>
> alan@lxorguk.ukuu.org.uk said:
> > It doesn't work with an MMU either. Consider O_DIRECT file writing
> > from such a page
>
> Hmmm.
>
> O_DIRECT writing of data from an XIP-mapped page to a file on the same chip
> ain't ever going to work. Writing to something elsewhere should be fine --
> if a page is locked when the chip driver wants to go talk to the chip, the
> chip driver has to wait for that page to become unlocked. No?

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

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



This archive was generated by hypermail 2b29 : Tue Jul 30 2002 - 14:00:23 EST