]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Split the PowerISA 3.0 HPT implementation from historic
authorjhibbits <jhibbits@FreeBSD.org>
Thu, 14 Jun 2018 17:23:51 +0000 (17:23 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Thu, 14 Jun 2018 17:23:51 +0000 (17:23 +0000)
commitdd49c6e3e7a994d8dac640e30482fd604ee365c5
tree341d726c12c462b95d7eb0c4c1405aad07e72b9d
parent53cd45e05d116d0daf1318465344c93f3844c0d5
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