As was done in r196643 for i386 and amd64, swap the start/end virtual
addresses in pmap_invalidate_cache_range(). Reported by: Vincent Hoffman <vince unsane co uk> Reviewed by: jhb MFC after: 3 days
This commit is contained in:
parent
02ac92bf5a
commit
91e4a6b834
@ -1004,8 +1004,8 @@ pmap_invalidate_cache_range(vm_offset_t sva, vm_offset_t eva)
|
||||
* coherence domain.
|
||||
*/
|
||||
mfence();
|
||||
for (; eva < sva; eva += cpu_clflush_line_size)
|
||||
clflush(eva);
|
||||
for (; sva < eva; sva += cpu_clflush_line_size)
|
||||
clflush(sva);
|
||||
mfence();
|
||||
} else {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user