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)
Thu, Nov 27, 6:46 PM
Unknown Object (File)
Sat, Nov 22, 5:07 PM
Unknown Object (File)
Sat, Nov 22, 5:07 PM
Unknown Object (File)
Sat, Nov 22, 5:07 PM
Unknown Object (File)
Sat, Nov 22, 4:54 PM
Unknown Object (File)
Tue, Nov 18, 2:53 AM
Unknown Object (File)
Sat, Nov 15, 6:21 AM
Unknown Object (File)
Oct 29 2025, 11:37 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