Re: DMA Vs Programmed IO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> i was going through the "understanding linux kernel" and i was wondering that
> how the kernel or the device driver choose the method for IO. 
> is there any rule of thumb by which it decides whether it should go for  DMA
> or programmed IO. 
> 
> i m pretty confused .. please help me out ? 

alot depends greatly on the hardware and how much data
has to be transfered.

But quite often if DMA fails for some reson it will
try to fall back to PIO something working slowly
can be better than not working at all.



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux