]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
powernv: Include NUMA locality information in the CPU topology
authorMark Johnston <markj@FreeBSD.org>
Thu, 1 Apr 2021 14:25:57 +0000 (10:25 -0400)
committerMark Johnston <markj@FreeBSD.org>
Thu, 1 Apr 2021 14:25:57 +0000 (10:25 -0400)
commitcb5f8694a522ab9a80f9f0bd321d8f3ed818dd9b
tree6952b511de11559f0062e03db057f91aea4a60dd
parentb8ae450f05e62a851f444edaf7db2506ff99aa37
powernv: Include NUMA locality information in the CPU topology

ULE uses this topology to try and preserve locality when migrating
threads between CPUs and when performing work stealing.  Ensure that on
NUMA systems it will at least take the NUMA topology into account.

Reviewed by: bdragon, jhibbits (previous version)
Tested by: bdragon
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D28580
sys/powerpc/powernv/platform_powernv.c