Re: Locking comment on shrink_caches()

Alan Cox
2001-09-27T12:06:25Z

> Yes, this was my intended point. Please see my quoted text above and
> note the "exclusive cache line acquisition" with emphasis on the word
> "acquisition" meaning you don't have the cache line in E state yet.

See prefetching - the CPU prefetching will hide some of the effect and
the spin_lock_prefetch() macro does wonders for the rest.

Alan