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)
Dec 23 2023, 2:36 AM
Unknown Object (File)
Nov 1 2023, 7:42 PM
Unknown Object (File)
Sep 30 2023, 7:41 PM
Unknown Object (File)
Jun 20 2023, 10:27 AM
Unknown Object (File)
Feb 17 2023, 4:33 PM
Unknown Object (File)
Dec 15 2022, 8:16 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