mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-04 10:25:00 +00:00
remove 2M hugepages
remove 2M hugepages setting here because it will not use any more. # make sure there is enough 2M hugepages in the pool echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
This commit is contained in:
@@ -346,9 +346,6 @@ if [ $launch_type == 5 ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# make sure there is enough 2M hugepages in the pool
|
|
||||||
echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
|
|
||||||
|
|
||||||
# offline SOS CPUs except BSP before launch UOS
|
# offline SOS CPUs except BSP before launch UOS
|
||||||
for i in `ls -d /sys/devices/system/cpu/cpu[1-99]`; do
|
for i in `ls -d /sys/devices/system/cpu/cpu[1-99]`; do
|
||||||
online=`cat $i/online`
|
online=`cat $i/online`
|
||||||
|
Reference in New Issue
Block a user