Date
July 10, 2025, 9:07 a.m.
Environment | |
---|---|
qemu-x86_64 | |
x86 |
<8>[ 401.532761] <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 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' 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. 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' Method is 0 waiting for DONE signal. 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 0x7f396d400000 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 0x7f396d400000 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 0x7f8bc5400000 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 0x7f8bc5400000 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' 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. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7ff2b7600000 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 0x7ff2b7600000 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 0x7f9297200000 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 0x7f9297200000 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: 0x7f49bd400000 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: 0x7f49bd400000 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: 0x7fde6fa00000 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: 0x7fde6fa00000 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' 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 Private mapping. RESERVE mapping. Allocating using SHM. shmid: 0x3, shmget key:0 shmaddr: 0x7f59d8600000 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: 0x7f59d8600000 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: 0x7f19d0a00000 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: 0x7f19d0a00000 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 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' 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 0x7f1af2e00000 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 0x7f1af2e00000 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 0x7f057b000000 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 0x7f057b000000 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' 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. NO_RESERVE mapping. Allocating using MAP_HUGETLB. Returned address is 0x7fc2e5600000 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 0x7fc2e5600000 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 0x7f3012600000 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 0x7f3012600000 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>[ 401.771393] <LAVA_SIGNAL_ENDTC mm_run_vmtests_sh_thuge-gen> mm_run_vmtests_sh_thuge-gen fail
<8>[ 490.034538] <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' Method is 0 waiting for DONE signal. 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' 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. 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' Method is 0 waiting for DONE signal. 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 0x7f64a9600000 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 0x7f64a9600000 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 0x7f2779c00000 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 0x7f2779c00000 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 0x7f15c9c00000 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 0x7f15c9c00000 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 0x7fca0d400000 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 0x7fca0d400000 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: 0x7f662cc00000 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: 0x7f662cc00000 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: 0x7f7b6c600000 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: 0x7f7b6c600000 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: 0x7f1220e00000 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: 0x7f1220e00000 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: 0x7f84dce00000 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: 0x7f84dce00000 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 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 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' Method is 0 waiting for DONE signal. 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 0x7f85f3400000 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 0x7f85f3400000 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 0x7f8ec6000000 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 0x7f8ec6000000 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 0x7f835a000000 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 0x7f835a000000 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 0x7fc9ea600000 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 0x7fc9ea600000 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>[ 490.206861] <LAVA_SIGNAL_ENDTC mm_run_vmtests_sh_thuge-gen> mm_run_vmtests_sh_thuge-gen fail
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 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 0x7fceb2600000 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 0x7fceb2600000 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 0x7fedb9600000 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 0x7fedb9600000 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 0x7f992fc00000 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 0x7f992fc00000 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 0x7f11c2a00000 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 0x7f11c2a00000 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: 0x7f0c23c00000 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: 0x7f0c23c00000 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: 0x7f7f7b200000 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: 0x7f7f7b200000 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: 0x7f08dd400000 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: 0x7f08dd400000 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: 0x7fac5bc00000 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: 0x7fac5bc00000 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 0x7f7693a00000 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 0x7f7693a00000 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 0x7f20b7600000 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 0x7f20b7600000 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 0x7f5add200000 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 0x7f5add200000 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[ 260.707283] <LAVA_SIGNAL_ENDTC mm_run_vmtests_sh_thuge-gen> Memory charged to reservation=10485760 PASS CLEANUP DONE mm_run_vmtests_sh_thuge-gen fail