mem/hugeshmat: new case for hugepage leak inspection
PATCH 1/1 mem/hugeshmat: new case for hugepage leak inspection
Description of Problem:
When over 1GB shared memory was alocated in hugepage, the hugepage is not released though process finished.
Signed-off-by Li Wang <[email protected]>
--- runtest/hugetlb | 1 + testcases/kernel/mem/.gitignore | 1 + .../kernel/mem/hugetlb/hugeshmat/hugeshmat04.c | 185 +++++++++++++++++++++ 3 files changed, 187 insertions(+) create mode 100644 testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat04.c
runtest/hugetlb +1 -0
@@ -10,6 +10,7 @@ hugemmap05_3 hugemmap05 -s -m hugeshmat01 hugeshmat01 -i 5 hugeshmat02 hugeshmat02 -i 5 hugeshmat03 hugeshmat03 -i 5 +hugeshmat04 hugeshamt04 -i 5 hugeshmctl01 hugeshmctl01 -i 5 hugeshmctl02 hugeshmctl02 -i 5
testcases/kernel/mem/.gitignore +1 -0
@@ -6,6 +6,7 @@ /hugetlb/hugeshmat/hugeshmat01 /hugetlb/hugeshmat/hugeshmat02 /hugetlb/hugeshmat/hugeshmat03 +/hugetlb/hugeshmat/hugeshmat04 /hugetlb/hugeshmctl/hugeshmctl01 /hugetlb/hugeshmctl/hugeshmctl02 /hugetlb/hugeshmctl/hugeshmctl03
testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat04.c new file +185 -0
185 lines not on this page · raw message
Signature · 13 lines
1.8.3.1 ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list