On Sat, 23 Jan 2010 09:10:44 +0100 Németh Márton <nm127@xxxxxxxxxxx> wrote: > > is more readable, smaller and quicker (less MMU switches) than: > > What do you mean under MMU switches? The MMU has an associative memory which is used in the first step to translate a logical address (page) to the physical RAM address. Every time an address is not in this memory, a MMU interrupt occurs. Then, the system scans the page tables of the process, and either reloads the associative memory or calls the swap system to bring the page into the physical memory. An associative memory is complex and its complexity grows exponentially with its size. So, usually, it is rather small. Then, the more the code is small and the less MMU interrupts occur... -- Ken ar c'hentañ | ** Breizh ha Linux atav! ** Jef | http://moinejf.free.fr/ -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html