Page MenuHomeFreeBSD

Remove an unneeded cpu_dcache_wb_range from arm64
ClosedPublic

Authored by andrew on Oct 18 2022, 4:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 10, 10:34 AM
Unknown Object (File)
Mon, Aug 10, 10:34 AM
Unknown Object (File)
Mon, Aug 10, 10:25 AM
Unknown Object (File)
Fri, Aug 7, 5:23 PM
Unknown Object (File)
Mon, Aug 3, 4:20 PM
Unknown Object (File)
Sat, Jul 25, 8:55 PM
Unknown Object (File)
Sat, Jul 25, 3:11 PM
Unknown Object (File)
Fri, Jul 24, 4:08 PM
Subscribers

Details

Summary

The cpu_dcache_wb_range function is an expensive function that is
unneeded in ddb. It is used when the cache needs to be written to RAM,
e.g. when working with a non-cache coherent device.

Remove it as cpu_icache_sync_range already has the needed d-cache
handling to ensure any changed memory is visible to the i-cache.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable