Re: Re-entrancy of flash erase/write

David Woodhouse
2002-02-22T16:55:49Z

rob@sysgo.de said:
> Am I right in assuming that it is not possible to erase and/or write
> different blocks of the same flash chip concurrently ?

No - on some chips you can. Not most though.

> If so, where is the lock in the MTD code that would prevent concurrent
> execution of erase/write on the same chip by multiple processes ?

In the chip drivers themselves. Grep for TASK_UNINTERRUPTIBLE in
cfi_cmdset_0001.c, for example.

--
dwmw2