This commit is contained in:
logwang 2017-08-04 11:43:25 +08:00
commit 3cbf1fd344
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@
echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
mkdir /mnt/huge
mount -t hugetlbfs nodev /mnt/huge
# close ASLR; it is necessary in multiple porcess
echo 0 > /proc/sys/kernel/randomize_va_space
# insmod ko
modprobe uio