Date
July 1, 2025, 10:10 a.m.
Environment | |
---|---|
qemu-x86_64 | |
x86 |
<8>[ 470.647292] <LAVA_SIGNAL_STARTTC mm_run_vmtests_sh_thuge-gen> exit=1----------------------------------------------- running ./charge_reserved_hugetlb.sh -cgroup-v2 ----------------------------------------------- CLEANUP DONE CLEANUP DONE Test normal case. private=, populate=, method=0, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=0 Shared mapping. RESERVE mapping. Allocating using HUGETLBFS. After write: hugetlb_usage=0 reserved_usage=10485760 0 10485760 Memory charged to hugtlb=0 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=, populate=, method=0, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=0 Shared mapping. RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. After write: hugetlb_usage=10485760 reserved_usage=10485760 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=, populate=, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=0 Shared mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. After write: hugetlb_usage=0 reserved_usage=0 0 0 Memory charged to hugtlb=0 Memory charged to reservation=0 PASS CLEANUP DONE Test normal case with write. private=, populate=, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=0 Shared mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. After write: hugetlb_usage=10485760 reserved_usage=10485760 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=, method=0, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. DONE ================= end output. write_result is 0 After write: hugetlb_usage=0 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 0 10485760 Memory charged to hugtlb=0 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=, method=0, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. DONE ================= end output. write_result is 0 After write: hugetlb_usage=0 reserved_usage=0 killing write_to_hugetlbfs Received 2. 0 0 Memory charged to hugtlb=0 Memory charged to reservation=0 PASS CLEANUP DONE Test normal case with write. private=-r, populate=, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=, method=1, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f4c9ac00000 DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f4c9ac00000 DONE ================= end output. write_result is 0 After write: hugetlb_usage=0 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 0 10485760 Memory charged to hugtlb=0 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=, method=1, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f70d5e00000 Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f70d5e00000 Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=, method=1, reserve=-n nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f7c72c00000 DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f7c72c00000 DONE ================= end output. write_result is 0 After write: hugetlb_usage=0 reserved_usage=0 killing write_to_hugetlbfs Received 2. 0 0 Memory charged to hugtlb=0 Memory charged to reservation=0 PASS CLEANUP DONE Test normal case with write. private=-r, populate=, method=1, reserve=-n nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f9dad600000 Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f9dad600000 Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=, populate=, method=2, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=2 Shared mapping. RESERVE mapping. Allocating using SHM. shmid: 0x1, shmget key:0 shmaddr: 0x7efc80c00000 DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=2 Shared mapping. RESERVE mapping. Allocating using SHM. shmid: 0x1, shmget key:0 shmaddr: 0x7efc80c00000 DONE ================= end output. write_result is 0 After write: hugetlb_usage=0 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. Deleting the memory Done deleting the memory 0 10485760 Memory charged to hugtlb=0 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=, populate=, method=2, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=2 Shared mapping. RESERVE mapping. Allocating using SHM. shmid: 0x2, shmget key:0 shmaddr: 0x7ff8cd600000 Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=2 Shared mapping. RESERVE mapping. Allocating using SHM. shmid: 0x2, shmget key:0 shmaddr: 0x7ff8cd600000 Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. Deleting the memory Done deleting the memory 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=, method=2, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=2 Private mapping. RESERVE mapping. Allocating using SHM. shmid: 0x3, shmget key:0 shmaddr: 0x7f8195400000 DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=2 Private mapping. RESERVE mapping. Allocating using SHM. shmid: 0x3, shmget key:0 shmaddr: 0x7f8195400000 DONE ================= end output. write_result is 0 After write: hugetlb_usage=0 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. Deleting the memory Done deleting the memory 0 10485760 Memory charged to hugtlb=0 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=, method=2, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=2 Private mapping. RESERVE mapping. Allocating using SHM. shmid: 0x4, shmget key:0 shmaddr: 0x7fe540200000 Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=2 Private mapping. RESERVE mapping. Allocating using SHM. shmid: 0x4, shmget key:0 shmaddr: 0x7fe540200000 Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. Deleting the memory Done deleting the memory 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=, populate=-o, method=0, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=0 Shared mapping. RESERVE mapping. Allocating using HUGETLBFS. After write: hugetlb_usage=10485760 reserved_usage=10485760 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=, populate=-o, method=0, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=0 Shared mapping. RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. After write: hugetlb_usage=10485760 reserved_usage=10485760 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=, populate=-o, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=0 Shared mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. After write: hugetlb_usage=10485760 reserved_usage=10485760 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=, populate=-o, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=0 Shared mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. After write: hugetlb_usage=10485760 reserved_usage=10485760 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=-o, method=0, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 waiting for DONE signal. Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=-o, method=0, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 waiting for DONE signal. Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=-o, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=-o, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=-o, method=1, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 waiting for DONE signal. Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7fc7cdc00000 DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7fc7cdc00000 DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=-o, method=1, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f8fac400000 Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f8fac400000 Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=-o, method=1, reserve=-n nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f02f3c00000 DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f02f3c00000 DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=-o, method=1, reserve=-n nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f7aed600000 Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f7aed600000 Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE [PASS] <8>[ 470.918996] <LAVA_SIGNAL_ENDTC mm_run_vmtests_sh_thuge-gen> mm_run_vmtests_sh_thuge-gen fail
<8>[ 578.684746] <LAVA_SIGNAL_STARTTC mm_run_vmtests_sh_thuge-gen> exit=1----------------------------------------------- running ./charge_reserved_hugetlb.sh -cgroup-v2 ----------------------------------------------- CLEANUP DONE CLEANUP DONE Test normal case. private=, populate=, method=0, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=0 Shared mapping. RESERVE mapping. Allocating using HUGETLBFS. After write: hugetlb_usage=0 reserved_usage=10485760 0 10485760 Memory charged to hugtlb=0 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=, populate=, method=0, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=0 Shared mapping. RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. After write: hugetlb_usage=10485760 reserved_usage=10485760 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=, populate=, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=0 Shared mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. After write: hugetlb_usage=0 reserved_usage=0 0 0 Memory charged to hugtlb=0 Memory charged to reservation=0 PASS CLEANUP DONE Test normal case with write. private=, populate=, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=0 Shared mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. After write: hugetlb_usage=10485760 reserved_usage=10485760 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=, method=0, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 waiting for DONE signal. Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. DONE ================= end output. write_result is 0 After write: hugetlb_usage=0 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 0 10485760 Memory charged to hugtlb=0 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=, method=0, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. DONE ================= end output. write_result is 0 After write: hugetlb_usage=0 reserved_usage=0 killing write_to_hugetlbfs Received 2. 0 0 Memory charged to hugtlb=0 Memory charged to reservation=0 PASS CLEANUP DONE Test normal case with write. private=-r, populate=, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=, method=1, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 waiting for DONE signal. Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f013cc00000 DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f013cc00000 DONE ================= end output. write_result is 0 After write: hugetlb_usage=0 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 0 10485760 Memory charged to hugtlb=0 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=, method=1, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 waiting for DONE signal. Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f2f03e00000 Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f2f03e00000 Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=, method=1, reserve=-n nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7faf28800000 DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7faf28800000 DONE ================= end output. write_result is 0 After write: hugetlb_usage=0 reserved_usage=0 killing write_to_hugetlbfs Received 2. 0 0 Memory charged to hugtlb=0 Memory charged to reservation=0 PASS CLEANUP DONE Test normal case with write. private=-r, populate=, method=1, reserve=-n nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f5290400000 Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f5290400000 Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=, populate=, method=2, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 2 waiting for DONE signal. Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=2 Shared mapping. RESERVE mapping. Allocating using SHM. shmid: 0x1, shmget key:0 shmaddr: 0x7f3de6c00000 DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=2 Shared mapping. RESERVE mapping. Allocating using SHM. shmid: 0x1, shmget key:0 shmaddr: 0x7f3de6c00000 DONE ================= end output. write_result is 0 After write: hugetlb_usage=0 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. Deleting the memory Done deleting the memory 0 10485760 Memory charged to hugtlb=0 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=, populate=, method=2, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=2 Shared mapping. RESERVE mapping. Allocating using SHM. shmid: 0x2, shmget key:0 shmaddr: 0x7f29f2e00000 Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=2 Shared mapping. RESERVE mapping. Allocating using SHM. shmid: 0x2, shmget key:0 shmaddr: 0x7f29f2e00000 Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. Deleting the memory Done deleting the memory 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=, method=2, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=2 Private mapping. RESERVE mapping. Allocating using SHM. shmid: 0x3, shmget key:0 shmaddr: 0x7fb7b1800000 DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=2 Private mapping. RESERVE mapping. Allocating using SHM. shmid: 0x3, shmget key:0 shmaddr: 0x7fb7b1800000 DONE ================= end output. write_result is 0 After write: hugetlb_usage=0 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. Deleting the memory Done deleting the memory 0 10485760 Memory charged to hugtlb=0 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=, method=2, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=2 Private mapping. RESERVE mapping. Allocating using SHM. shmid: 0x4, shmget key:0 shmaddr: 0x7f85f5000000 Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=2 Private mapping. RESERVE mapping. Allocating using SHM. shmid: 0x4, shmget key:0 shmaddr: 0x7f85f5000000 Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. Deleting the memory Done deleting the memory 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=, populate=-o, method=0, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=0 Shared mapping. RESERVE mapping. Allocating using HUGETLBFS. After write: hugetlb_usage=10485760 reserved_usage=10485760 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=, populate=-o, method=0, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=0 Shared mapping. RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. After write: hugetlb_usage=10485760 reserved_usage=10485760 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=, populate=-o, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=0 Shared mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. After write: hugetlb_usage=10485760 reserved_usage=10485760 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=, populate=-o, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=0 Shared mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. After write: hugetlb_usage=10485760 reserved_usage=10485760 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=-o, method=0, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=-o, method=0, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=-o, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=-o, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=-o, method=1, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7ffb4e400000 DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7ffb4e400000 DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=-o, method=1, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 waiting for DONE signal. Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f0831a00000 Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f0831a00000 Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=-o, method=1, reserve=-n nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7fdec6a00000 DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7fdec6a00000 DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=-o, method=1, reserve=-n nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' waiting for DONE signal. Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7ff428200000 Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7ff428200000 Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE [PASS] <8>[ 578.830125] <LAVA_SIGNAL_ENDTC mm_run_vmtests_sh_thuge-gen> mm_run_vmtests_sh_thuge-gen fail
private=, populate=, method=0, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=0 Shared mapping. RESERVE mapping. Allocating using HUGETLBFS. After write: hugetlb_usage=0 reserved_usage=10485760 0 10485760 Memory charged to hugtlb=0 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=, populate=, method=0, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=0 Shared mapping. RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. After write: hugetlb_usage=10485760 reserved_usage=10485760 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=, populate=, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=0 Shared mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. After write: hugetlb_usage=0 reserved_usage=0 0 0 Memory charged to hugtlb=0 Memory charged to reservation=0 PASS CLEANUP DONE Test normal case with write. private=, populate=, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=0 Shared mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. After write: hugetlb_usage=10485760 reserved_usage=10485760 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=, method=0, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. DONE ================= end output. write_result is 0 After write: hugetlb_usage=0 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 0 10485760 Memory charged to hugtlb=0 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=, method=0, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. DONE ================= end output. write_result is 0 After write: hugetlb_usage=0 reserved_usage=0 killing write_to_hugetlbfs Received 2. 0 0 Memory charged to hugtlb=0 Memory charged to reservation=0 PASS CLEANUP DONE Test normal case with write. private=-r, populate=, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=, method=1, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f6e24400000 DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f6e24400000 DONE ================= end output. write_result is 0 After write: hugetlb_usage=0 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 0 10485760 Memory charged to hugtlb=0 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=, method=1, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f1a83600000 Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f1a83600000 Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=, method=1, reserve=-n nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7ff6f9c00000 DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7ff6f9c00000 DONE ================= end output. write_result is 0 After write: hugetlb_usage=0 reserved_usage=0 killing write_to_hugetlbfs Received 2. 0 0 Memory charged to hugtlb=0 Memory charged to reservation=0 PASS CLEANUP DONE Test normal case with write. private=-r, populate=, method=1, reserve=-n nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f6f7f600000 Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f6f7f600000 Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=, populate=, method=2, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=2 Shared mapping. RESERVE mapping. Allocating using SHM. shmid: 0x1, shmget key:0 shmaddr: 0x7fb1ee600000 DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=2 Shared mapping. RESERVE mapping. Allocating using SHM. shmid: 0x1, shmget key:0 shmaddr: 0x7fb1ee600000 DONE ================= end output. write_result is 0 After write: hugetlb_usage=0 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. Deleting the memory Done deleting the memory 0 10485760 Memory charged to hugtlb=0 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=, populate=, method=2, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=2 Shared mapping. RESERVE mapping. Allocating using SHM. shmid: 0x2, shmget key:0 shmaddr: 0x7fc8e1000000 Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=2 Shared mapping. RESERVE mapping. Allocating using SHM. shmid: 0x2, shmget key:0 shmaddr: 0x7fc8e1000000 Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. Deleting the memory Done deleting the memory 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=, method=2, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=2 Private mapping. RESERVE mapping. Allocating using SHM. shmid: 0x3, shmget key:0 shmaddr: 0x7fc03b200000 DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Not writing to memory. Using method=2 Private mapping. RESERVE mapping. Allocating using SHM. shmid: 0x3, shmget key:0 shmaddr: 0x7fc03b200000 DONE ================= end output. write_result is 0 After write: hugetlb_usage=0 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. Deleting the memory Done deleting the memory 0 10485760 Memory charged to hugtlb=0 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=, method=2, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=2 Private mapping. RESERVE mapping. Allocating using SHM. shmid: 0x4, shmget key:0 shmaddr: 0x7f5b49c00000 Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 2 Writing to this path: /mnt/huge/test Writing this size: 10485760 Not populating. Using method=2 Private mapping. RESERVE mapping. Allocating using SHM. shmid: 0x4, shmget key:0 shmaddr: 0x7f5b49c00000 Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. Deleting the memory Done deleting the memory 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=, populate=-o, method=0, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=0 Shared mapping. RESERVE mapping. Allocating using HUGETLBFS. After write: hugetlb_usage=10485760 reserved_usage=10485760 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=, populate=-o, method=0, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=0 Shared mapping. RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. After write: hugetlb_usage=10485760 reserved_usage=10485760 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=, populate=-o, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=0 Shared mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. After write: hugetlb_usage=10485760 reserved_usage=10485760 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=, populate=-o, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=0 Shared mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. After write: hugetlb_usage=10485760 reserved_usage=10485760 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=-o, method=0, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=-o, method=0, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=0 Private mapping. RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=-o, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=-o, method=0, reserve=-n nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 0 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=0 Private mapping. NO_RESERVE mapping. Allocating using HUGETLBFS. Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=-o, method=1, reserve= nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f1436800000 DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f1436800000 DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE Test normal case with write. private=-r, populate=-o, method=1, reserve= nr hugepages = 10 writing cgroup limit: 10485760 writing reseravation limit: 10485760 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f3ed1a00000 Writing to memory. DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Using method=1 Private mapping. RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7f3ed1a00000 Writing to memory. DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760 Memory charged to reservation=10485760 PASS CLEANUP DONE CLEANUP DONE Test normal case. private=-r, populate=-o, method=1, reserve=-n nr hugepages = 10 writing cgroup limit: 20971520 writing reseravation limit: 20971520 Starting: hugetlb_usage=0 reserved_usage=0 expect_failure is 0 waiting for DONE signal. Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7fba72600000 DONE ================= write_hugetlb_memory.sh output is: Putting task in cgroup 'hugetlb_cgroup_test' Method is 1 Writing to this path: /mnt/huge/test Writing this size: 10485760 Populating. Not writing to memory. Using method=1 Private mapping. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7fba72600000 DONE ================= end output. write_result is 0 After write: hugetlb_usage=10485760 reserved_usage=10485760 killing write_to_hugetlbfs Received 2. 10485760 10485760 Memory charged to hugtlb=10485760[ 255.698424] <LAVA_SIGNAL_ENDTC mm_run_vmtests_sh_thuge-gen> Memory charged to reservation=10485760 PASS CLEANUP DONE mm_run_vmtests_sh_thuge-gen fail