On Wed, 2006-09-13 at 12:58 +0200, Jakko Pastuchio wrote: > Hi all, > > I've noticed that the flush_icache_* routines on the i386 > are nothing more than an empty do{}while(0) stub. > > does anyone know why is that ? If my understanding is correct then these functions are mainly required for virtual caches where you need to flush instruction cache say during context switch. It's not required for x86 as x86 caches are physically tagged caches > > can't we invalidate instruction caches on the x86 ? > > thanks, > Jakko > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/