This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Test: arm64: Kconfig: Enable NODES_SPAN_OTHER_NODES config for NUMA #19
Labels
Comments
Confirmed 'CONFIG_NODES_SPAN_OTHER_NODES' is a nice-to-have patch. FW will not report overlapped memory region. Tested on MJ with 1.05 FW.
|
close. done. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Note: This patch fixes incorrect memory size in OS, when SRAT memory map is overlapped. However, no memory overlap observed with current FW. We only calculate memory size from ACPI/SRAT, and check with memory size reported by OS.
Test steps:
Memory Configuration -> Enable Slave 32bit memory region [Enabled]
Check kernel configure 'NODES_SPAN_OTHER_NODE' is enabled
dmesg | grep 'SRAT', got numa memory map. e.g:
e.g, for Node 0, the memory size is calculated as:
cat /sys/devices/system/node/node0/meminfo
Node 0 MemTotal: ...
Compare memory size between step 4 and step 5. They should be similar (not exactly the same). We can just print the memory size to log.
The text was updated successfully, but these errors were encountered: