[PATCH][MTD] mtdpart.c: allow other drivers to get physical address of partition
Carsten Otte
cotte at de.ibm.com
Fri Aug 3 08:21:54 EDT 2007
Jörn Engel wrote:
> On Fri, 3 August 2007 13:03:49 +0200, Carsten Otte wrote:
>> I see. Trouble for "real time" applications ;-). But once we're
>> receiving a lot of page faults we end up suspending the erase forever.
>> We need a deterministic end of the erase cycle as well, don't we?
> Absolutely.
Hmm. At least this does'nt seem like something that the xip
infrastructure should be concerned with: it will ask for
get_xip_page() [or get_xip_pfn()], and return temporary references via
put_xip_page/pfn(). The mtd layer has to decide when to pospone
get_xip_page() calls and when to ask for references being returned. On
the other hand, I think we should make sure get_xip_page() targets may
call schedule() in case the page we ask for is currently unavailable
while an erase operation is in progress.
More information about the linux-mtd
mailing list