HomeFreeBSD

When synchronising the instruction and data caches we only need to clean

Description

When synchronising the instruction and data caches we only need to clean
the data cache to the point of unification. This is the point where the
two caches are unified to a single unified cache so cleaning past here
is just extra unneeded work.

This was noticed when investigating r305545.

Reported by: bz
Obtained from: ABT Systems Ltd
MFC after: 1 week
Sponsored by: The FreeBSD Foundation

Details

Provenance
andrewAuthored on
Parents
rS305545: Only call cpu_icache_sync_range when inserting an executable page. If the
Branches
Unknown
Tags
Unknown