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
F159311882: D14583.diff
Fri, Jun 12, 6:15 PM
Unknown Object (File)
Sun, May 31, 2:42 AM
Unknown Object (File)
Wed, May 27, 11:02 AM
Unknown Object (File)
Mon, May 25, 10:17 AM
Unknown Object (File)
Mon, May 25, 10:17 AM
Unknown Object (File)
Fri, May 22, 7:55 AM
Unknown Object (File)
Fri, May 22, 7:55 AM
Unknown Object (File)
Mon, May 18, 7:38 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