Skip to contentSkip to conversation

Subject: [PATCH v6] https://github.com/libhugetlbfs/libhugetlbfs/blob/master/tests/fallocate_stress.c from libhugetlbfs

PATCH New Pavithra 1 participant 1 message Sep 28, 2025

lore
Share & tools
lore

Pavithra

author
#0 lore raw

PATCH 1/1 Subject: [PATCH v6] https://github.com/libhugetlbfs/libhugetlbfs/blob/master/tests/fallocate_stress.c from libhugetlbfs

This test stress tests fallocate. This test starts three threads. First thread will continually punch/fill holes via falloc. Second thread will continually fault in those same pages. Third thread will continually mmap/munmap that page range.

---
 runtest/hugetlb                               |   1 +
 testcases/kernel/mem/.gitignore               |   1 +
 .../hugetlb/hugefallocate/hugefallocate03.c   | 210 ++++++++++++++++++
 3 files changed, 212 insertions(+)
 create mode 100644 testcases/kernel/mem/hugetlb/hugefallocate/hugefallocate03.c
runtest/hugetlb +1 -0
index 0896d3c94..0ae1c7f07 100644
@@ -1,5 +1,6 @@
 hugefallocate01 hugefallocate01
 hugefallocate02 hugefallocate02
+hugefallocate03 hugefallocate03
 
 hugefork01 hugefork01
 hugefork02 hugefork02
testcases/kernel/mem/.gitignore +1 -0
index b4455de51..5396ed483 100644
@@ -2,6 +2,7 @@
 /cpuset/cpuset02
 /hugetlb/hugefallocate/hugefallocate01
 /hugetlb/hugefallocate/hugefallocate02
+/hugetlb/hugefallocate/hugefallocate03
 /hugetlb/hugefork/hugefork01
 /hugetlb/hugefork/hugefork02
 /hugetlb/hugemmap/hugemmap01
testcases/kernel/mem/hugetlb/hugefallocate/hugefallocate03.c new file +210 -0

210 lines not on this page · raw message

Signature · 5 lines
2.43.5


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp