]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Split the PowerISA 3.0 HPT implementation from historic
authorJustin Hibbits <jhibbits@FreeBSD.org>
Thu, 14 Jun 2018 17:23:51 +0000 (17:23 +0000)
committerJustin Hibbits <jhibbits@FreeBSD.org>
Thu, 14 Jun 2018 17:23:51 +0000 (17:23 +0000)
commitebf95d96d9f8214d50732ff3094a4188f73e2f30
tree341d726c12c462b95d7eb0c4c1405aad07e72b9d
parent50d3578f0bdf542633cb1651cddc788c20bd9081
Split the PowerISA 3.0 HPT implementation from historic

PowerISA 3.0 makes several changes to not only the format of the HPT but
also the behavior surrounding it.  For instance, TLBIE no longer requires
serialization.  Removing this lock cuts buildworld time in half on a
18-core/72-thread POWER9 system, demonstrating that this lock is highly
contended on such a system.

There was odd behavior observed trying to make this change in a
backwards-compatible manner in moea64_native.c, so the best option was to
fully split it, and largely revert the original changes adding POWER9
support to the original file.

Suggested by: nwhitehorn
sys/conf/files.powerpc
sys/powerpc/aim/aim_machdep.c
sys/powerpc/aim/isa3_hashtb.c [new file with mode: 0644]
sys/powerpc/aim/moea64_native.c
sys/powerpc/include/mmuvar.h