aboutsummaryrefslogtreecommitdiff
path: root/tests/shm-getraw.sh
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2009-11-19 14:54:48 +1100
committerEric B Munson <ebmunson@us.ibm.com>2009-11-19 08:35:03 +0000
commit018405308d9e8d77430ff38b5dfb3c7aa227fb15 (patch)
treee1b26a3613fce9b01dbdc9f30b21725b364604ae /tests/shm-getraw.sh
parentc77742d80f4a17be14046239c763b52298663c57 (diff)
downloadlibhugetlbfs-018405308d9e8d77430ff38b5dfb3c7aa227fb15.tar.gz
Add paranoid checking of hugepage pool sizes
This patch adds code to the run_tests.py script to check the state of all the hugepage pools before and after each testcase. When turned on (with the new '-c' option to run_tests.py), it will report an error if the pool sizes are different after the test than before. Obviously this can report bogus errors if other programs are using hugepages on the system, or if dynamic pools are enabled. Nonetheless it can be useful it can be useful for detecting and tracking down subtle kernel bugs which result in misaccounting of the pool state (I've used it to debug such problems in a new hugepage port). Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Eric B Munson <ebmunson@us.ibm.com>
Diffstat (limited to 'tests/shm-getraw.sh')
0 files changed, 0 insertions, 0 deletions