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, Mar 12, 10:48 PM
Unknown Object (File)
Jan 22 2024, 6:03 PM
Unknown Object (File)
Jan 9 2024, 2:34 PM
Unknown Object (File)
Dec 20 2023, 6:09 AM
Unknown Object (File)
Dec 12 2023, 5:54 AM
Unknown Object (File)
Dec 2 2023, 3:38 AM
Unknown Object (File)
Sep 23 2023, 9:48 AM
Unknown Object (File)
Sep 14 2023, 6:04 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