Re: no flush_icache on i386 ?

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

 



Hi !

On 9/13/06, Amol Lad <amol@xxxxxxxxxxxxxxxxxxx> wrote:
On Wed, 2006-09-13 at 12:58 +0200, Jakko Pastuchio wrote:
> 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

hmm. thanks for that insight.
but what about events when the *physical* address space has changed
(e.g. module loading) ? we still need to invalidate the cache, don't we ?

so is there a way to 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/


[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