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)
Thu, Mar 5, 3:36 PM
Unknown Object (File)
Wed, Mar 4, 7:12 PM
Unknown Object (File)
Tue, Feb 24, 8:09 PM
Unknown Object (File)
Tue, Feb 17, 12:00 AM
Unknown Object (File)
Feb 2 2026, 11:45 PM
Unknown Object (File)
Jan 17 2026, 6:32 PM
Unknown Object (File)
Jan 16 2026, 12:15 AM
Unknown Object (File)
Jan 14 2026, 8:17 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

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