Jean-Francois Moine wrote: > 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... Linux doesn't use swap memory for the kernel. It will be using a physical RAM memory for the entire kernel. So, I don't think MMU applies here. Cheers, Mauro. -- 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