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
F166535000: D14583.id41272.diff
Fri, Aug 14, 3:52 AM
Unknown Object (File)
Mon, Aug 10, 10:32 AM
Unknown Object (File)
Mon, Aug 10, 10:23 AM
Unknown Object (File)
Mon, Aug 10, 9:45 AM
Unknown Object (File)
Tue, Jul 28, 1:25 PM
Unknown Object (File)
Sun, Jul 19, 11:45 PM
Unknown Object (File)
Jul 13 2026, 12:38 AM
Unknown Object (File)
Jul 12 2026, 12:17 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