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
F170715403: D37037.id111932.diff
Sun, Sep 6, 4:32 AM
F170708068: D37037.id112289.diff
Sun, Sep 6, 3:30 AM
F170705605: D37037.id111932.diff
Sun, Sep 6, 3:12 AM
F170697734: D37037.id112289.diff
Sun, Sep 6, 2:11 AM
Unknown Object (File)
Sat, Sep 5, 3:08 PM
Unknown Object (File)
Sat, Sep 5, 6:00 AM
Unknown Object (File)
Wed, Sep 2, 3:36 PM
Unknown Object (File)
Wed, Sep 2, 3:48 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