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
F163088781: D14583.id39947.diff
Sun, Jul 19, 11:45 PM
Unknown Object (File)
Mon, Jul 13, 12:38 AM
Unknown Object (File)
Sun, Jul 12, 12:17 AM
Unknown Object (File)
Tue, Jun 30, 4:40 AM
Unknown Object (File)
Tue, Jun 30, 3:41 AM
Unknown Object (File)
Sun, Jun 28, 10:41 PM
Unknown Object (File)
Fri, Jun 26, 2:12 PM
Unknown Object (File)
Jun 15 2026, 6:57 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