Page MenuHomeFreeBSD

powerpc64: Avoid calling isync twice
ClosedPublic

Authored by breno.leitao_gmail.com on Mar 4 2018, 9:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 24, 7:58 AM
Unknown Object (File)
Tue, Dec 23, 12:43 PM
Unknown Object (File)
Dec 10 2025, 9:54 AM
Unknown Object (File)
Nov 20 2025, 7:54 PM
Unknown Object (File)
Nov 14 2025, 10:13 PM
Unknown Object (File)
Nov 10 2025, 8:24 PM
Unknown Object (File)
Nov 9 2025, 4:50 PM
Unknown Object (File)
Nov 9 2025, 3:42 PM
Subscribers

Details

Summary

It is not necessary to call isync() after calling mtmsr() function, mainly
because the mtmsr() calls 'isync' internally to synchronize the machine state
register. Other than that, isync() just calls the 'isync' instruction, thus,
the 'isync' instruction is being called twice, and that seems to be unnecessary.

This patch just remove the unecessary calls to isync() after mtmsr().

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15368
Build 15420: arc lint + arc unit