[PowerPC64LE] Implement endian-independent dword atomic PTE lock.
authorBrandon Bergren <bdragon@FreeBSD.org>
Wed, 23 Sep 2020 01:33:54 +0000 (01:33 +0000)
committerBrandon Bergren <bdragon@FreeBSD.org>
Wed, 23 Sep 2020 01:33:54 +0000 (01:33 +0000)
commitd418d3f61678432e3f68082f8f4e22a26d96fa5d
tree686ec9214ccc58dc194a6dd93886057431bc1fc7
parentf475e00fb3c3102b907e07ea405b78d28bf6e50f
[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