]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[PowerPC64LE] Implement endian-independent dword atomic PTE lock.
authorbdragon <bdragon@FreeBSD.org>
Wed, 23 Sep 2020 01:33:54 +0000 (01:33 +0000)
committerbdragon <bdragon@FreeBSD.org>
Wed, 23 Sep 2020 01:33:54 +0000 (01:33 +0000)
commitee7f1d4d50fcf26464de637db038844d6ead1130
tree686ec9214ccc58dc194a6dd93886057431bc1fc7
parentdf4e97c1cf1dba943df982760c24c52d321e5ebc
[PowerPC64LE] Implement endian-independent dword atomic PTE lock.

It's much easier to implement this in an endian-independent way when we
don't also have to worry about masking half of the dword off.

Given that this code ran on a machine that ran a poudriere bulk with no
kernel oddities, I am relatively certain it is correctly implemented. ;)

This should be a minor performance boost on BE as well.

Sponsored by: Tag1 Consulting, Inc.
sys/powerpc/aim/moea64_native.c