tech-kern archive

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

Re: cache invalidation in modload



On Thu, Jan 01, 2009 at 08:35:41PM +0200, Antti Kantee wrote:

> Why is cache invalidation, i.e. kobj_machdep(), required after loading
> a module?  The module loading code doesn't appear to do anything
> magically mystically mythical which would require a flush.  The only
> reason I could even begin to imagine was to flush the instruction cache.
> But at least on x86 this is not required according to my interpretation
> of the Intel manuals.

x86: the trace cache on the Pentium 4 does not snoop writes performed by
remote CPUs.

Andrew


Home | Main Index | Thread Index | Old Index