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
F172732560: D14583.id.diff
Sun, Sep 20, 3:10 PM
F172678504: D14583.id39947.diff
Sun, Sep 20, 3:59 AM
F172677913: D14583.id41272.diff
Sun, Sep 20, 3:52 AM
F172674090: D14583.diff
Sun, Sep 20, 3:03 AM
Unknown Object (File)
Wed, Sep 16, 10:59 PM
Unknown Object (File)
Fri, Sep 11, 12:28 AM
Unknown Object (File)
Tue, Sep 8, 1:14 AM
Unknown Object (File)
Aug 21 2026, 12:26 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