case-truncate-seq: truncate sequentially

Mel Gorman suggested LKP to cover a case where sparsefiles are removed
sequentially so add a case based on case-truncate, which did the remove
concurrently.

In the meantime, this script will also report faultin time.

Note the example script provided by Mel in the below link has a 'sync'
after reading of the sparsefile and before removing of it. I failed to
understand the intent of the 'sync' so I omitted.

LINK: https://lore.kernel.org/linux-mm/20220217093113.GU3366@techsingularity.net/
Suggested-by: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
1 file changed
tree: bedcea3fd4133196e6f80512dd2f14151328365d
  1. .gitignore
  2. case-000-anon
  3. case-000-shm
  4. case-000-shm-clean
  5. case-anon-cow-rand
  6. case-anon-cow-rand-hugetlb
  7. case-anon-cow-rand-mt
  8. case-anon-cow-seq
  9. case-anon-cow-seq-hugetlb
  10. case-anon-cow-seq-mt
  11. case-anon-r-rand
  12. case-anon-r-rand-mt
  13. case-anon-r-seq
  14. case-anon-r-seq-mt
  15. case-anon-rx-rand-mt
  16. case-anon-rx-seq-mt
  17. case-anon-w-rand
  18. case-anon-w-rand-hugetlb
  19. case-anon-w-rand-mt
  20. case-anon-w-seq
  21. case-anon-w-seq-hugetlb
  22. case-anon-w-seq-mt
  23. case-anon-wx-rand-mt
  24. case-anon-wx-seq-mt
  25. case-direct-write
  26. case-fork
  27. case-fork-sleep
  28. case-hugetlb
  29. case-ksm
  30. case-ksm-hugepages
  31. case-lru-file-mmap-read
  32. case-lru-file-mmap-read-rand
  33. case-lru-file-readonce
  34. case-lru-file-readtwice
  35. case-lru-memcg
  36. case-lru-shm
  37. case-lru-shm-rand
  38. case-mbind
  39. case-migrate
  40. case-migrate-across-nodes
  41. case-mincore
  42. case-mincore-hugepages
  43. case-mlock
  44. case-mmap-pread-rand
  45. case-mmap-pread-rand-mt
  46. case-mmap-pread-seq
  47. case-mmap-pread-seq-mt
  48. case-mmap-xread-rand-mt
  49. case-mmap-xread-seq-mt
  50. case-mremap-xread-rand-mt
  51. case-msync
  52. case-msync-mt
  53. case-posix-fadvise
  54. case-remap
  55. case-shm-lock-unlock
  56. case-shm-pread-rand
  57. case-shm-pread-rand-mt
  58. case-shm-pread-seq
  59. case-shm-pread-seq-mt
  60. case-shm-xread-rand
  61. case-shm-xread-rand-mt
  62. case-shm-xread-seq
  63. case-shm-xread-seq-mt
  64. case-small-allocs
  65. case-small-allocs-mt
  66. case-swap-w-seq
  67. case-swapin
  68. case-truncate
  69. case-truncate-seq
  70. COPYING
  71. Documentation
  72. elapsed-time
  73. gcov-fun
  74. gcov-lock
  75. gcov-mm
  76. gcov-sum
  77. gcov-sum-all
  78. hw_vars
  79. Makefile
  80. README
  81. run
  82. run_cases
  83. setup_hugetlb
  84. small-allocs-common
  85. usemem.c
  86. usemem_direct_write.c
  87. usemem_hugepages.c
  88. usemem_hugepages.h
  89. usemem_ksm.c
  90. usemem_ksm_hugepages.c
  91. usemem_mbind.c
  92. usemem_migrate.c
  93. usemem_mincore.c
  94. usemem_mincore.h
  95. usemem_remap.c