tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: cache invalidation in modload
On Wed Jan 07 2009 at 20:44:19 +0000, Andrew Doran wrote:
> 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.
There's always a "but"... I added a few comments to the code. thanks.
Home |
Main Index |
Thread Index |
Old Index