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

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Jul 26 2002 - 12:11:25 EST


On Fri, 2002-07-26 at 15:03, David Woodhouse wrote:
> Good point -- so if a writer encounters a locked page when it's trying to
> unmap them all, it needs to still allow other pages to be mapped in while
> it waits for the original page to become unlocked. That avoids the deadlock
> -- but leaves us with the potential for livelock, with the writer being
> starved by too many other things locking down the pages in question.
>
> I suspect the number of pages getting locked will be sufficiently small
> that the deadlock does not occur.

Well for a starter lets try user writing a block to flash which needs an
erase from a block which happens to be not yet paged in and so still on
the flash you are writing to.

-
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:24 EST