added NUMA emulation

This commit is contained in:
CrimsonHawk 2024-12-14 20:10:00 +08:00
parent c7fa25b704
commit 70704265a8
Signed by: CrimsonHawk
GPG key ID: 82D963563CFDCEA1
2 changed files with 24 additions and 2 deletions

4
config
View file

@ -1258,7 +1258,7 @@ CONFIG_LOCK_MM_AND_FIND_VMA=y
CONFIG_IOMMU_MM_DATA=y
CONFIG_EXECMEM=y
CONFIG_NUMA_MEMBLKS=y
# CONFIG_NUMA_EMU is not set
CONFIG_NUMA_EMU=y
#
# Data Access Monitoring
@ -11536,7 +11536,7 @@ CONFIG_SWIOTLB=y
CONFIG_DMA_NEED_SYNC=y
CONFIG_DMA_COHERENT_POOL=y
CONFIG_DMA_CMA=y
# CONFIG_DMA_NUMA_CMA is not set
CONFIG_DMA_NUMA_CMA=y
#
# Default contiguous memory area size:

22
patches/NUMA.patch Executable file
View file

@ -0,0 +1,22 @@
diff --git a/home/lihaowang/Downloads/confign b/home/lihaowang/Downloads/config
index 85500aa..adc7bca 100644
--- a/home/lihaowang/Downloads/confign
+++ b/home/lihaowang/Downloads/config
@@ -1258,7 +1258,7 @@ CONFIG_LOCK_MM_AND_FIND_VMA=y
CONFIG_IOMMU_MM_DATA=y
CONFIG_EXECMEM=y
CONFIG_NUMA_MEMBLKS=y
-# CONFIG_NUMA_EMU is not set
+CONFIG_NUMA_EMU=y
#
# Data Access Monitoring
@@ -11536,7 +11536,7 @@ CONFIG_SWIOTLB=y
CONFIG_DMA_NEED_SYNC=y
CONFIG_DMA_COHERENT_POOL=y
CONFIG_DMA_CMA=y
-# CONFIG_DMA_NUMA_CMA is not set
+CONFIG_DMA_NUMA_CMA=y
#
# Default contiguous memory area size: