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)
Tue, Sep 24, 12:13 PM
Unknown Object (File)
Sun, Sep 22, 4:11 PM
Unknown Object (File)
Sun, Sep 22, 3:43 AM
Unknown Object (File)
Sun, Sep 22, 12:35 AM
Unknown Object (File)
Thu, Sep 19, 12:53 AM
Unknown Object (File)
Thu, Sep 19, 12:46 AM
Unknown Object (File)
Wed, Sep 18, 3:55 AM
Unknown Object (File)
Thu, Sep 5, 7:13 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