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

From: David Woodhouse (dwmw2@infradead.org)
Date: Fri Jul 26 2002 - 11:01:05 EST


alan@lxorguk.ukuu.org.uk said:
> 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.

What locks the page? Surely our write() implementation is just using
copy_from_user(), to get the data from the user, and each erase and write
to the flash chip can be considered atomic -- what's holding a lock, and
what's causing the deadlock?

--
dwmw2

- 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