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)
Apr 21 2026, 6:27 PM
Unknown Object (File)
Apr 21 2026, 5:51 AM
Unknown Object (File)
Apr 19 2026, 8:28 PM
Unknown Object (File)
Apr 18 2026, 1:24 PM
Unknown Object (File)
Apr 7 2026, 9:22 PM
Unknown Object (File)
Mar 26 2026, 7:31 PM
Unknown Object (File)
Mar 21 2026, 4:48 AM
Unknown Object (File)
Mar 8 2026, 10:40 AM
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