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
F102753653: D37037.id.diff
Sat, Nov 16, 5:34 PM
Unknown Object (File)
Fri, Nov 15, 10:05 AM
Unknown Object (File)
Thu, Nov 14, 5:26 AM
Unknown Object (File)
Tue, Nov 12, 2:10 AM
Unknown Object (File)
Mon, Nov 11, 7:30 AM
Unknown Object (File)
Mon, Nov 11, 2:49 AM
Unknown Object (File)
Oct 13 2024, 1:38 AM
Unknown Object (File)
Oct 3 2024, 1:14 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