I am currently working with a Millenium disk-on-chip under Linux with the
driver provided by M-systems & IGEL, and I noticed a very bad thing in the
open source wrapper (fldrvlnx.c): in the block request function
(fl_request), the irq are never activated. They are off when we enter the
function, and just in case they would miraclously get enabled (!!), a
cli() is put at the beginning of the function.

It means that the system is blocked during all the disk requests, which
can be *very* long (typically 100 ms when you are writing). It means that
the system clock is no longer valid, and that no other process can run
during the I/O. Can someone explain me why the interrupts are disabled ?

Fabrice.


--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to