mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-19 12:12:16 +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:
parent
462284fa7d
commit
f11b2635c5
@ -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`
|
||||||
|
Loading…
Reference in New Issue
Block a user