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)
Tue, Jun 17, 3:38 PM
Unknown Object (File)
Mon, Jun 16, 6:50 AM
Unknown Object (File)
Mon, Jun 2, 6:57 AM
Unknown Object (File)
May 13 2025, 8:37 AM
Unknown Object (File)
May 12 2025, 5:28 AM
Unknown Object (File)
May 5 2025, 5:51 AM
Unknown Object (File)
May 4 2025, 8:34 AM
Unknown Object (File)
Apr 14 2025, 8:24 AM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable