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)
Fri, Feb 14, 6:23 AM
Unknown Object (File)
Nov 29 2024, 12:11 AM
Unknown Object (File)
Nov 21 2024, 1:41 PM
Unknown Object (File)
Nov 17 2024, 3:57 PM
Unknown Object (File)
Nov 17 2024, 1:22 PM
Unknown Object (File)
Nov 16 2024, 5:34 PM
Unknown Object (File)
Nov 15 2024, 10:05 AM
Unknown Object (File)
Nov 14 2024, 5:26 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