stack_grow_into_huge: update with kernel fix info
The bug exploited by stack_grow_into_huge was fixed by kernel commit
0d59a01bc461bbab4017ff449b8401151ef44cf6.
For reference:
$ git describe 0d59a01bc461bbab4017ff449b8401151ef44cf6
v2.6.20-rc6-180-g0d59a01
Document this and allow the test to run in run_tests.sh.
Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]>
diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index 6b6f1bb..0d747ec 100755
--- a/tests/run_tests.sh
+++ b/tests/run_tests.sh
@@ -157,7 +157,7 @@ functional_tests () {
run_test truncate_above_4GB
run_test brk_near_huge
run_test task-size-overrun
- skip_test stack_grow_into_huge
+ run_test stack_grow_into_huge
# Tests requiring an active mount and hugepage COW
run_test private
diff --git a/tests/stack_grow_into_huge.c b/tests/stack_grow_into_huge.c
index a88a237..8507df9 100644
--- a/tests/stack_grow_into_huge.c
+++ b/tests/stack_grow_into_huge.c
@@ -43,6 +43,9 @@
* converted to huge pages and the stack is made to grow into the this
* preceeding segment, some kernels may attempt to map normal pages into the
* huge page-only segment -- resulting in bugs.
+ *
+ * The kernel bug in question was fixed by commit
+ * 0d59a01bc461bbab4017ff449b8401151ef44cf6.
*/
void do_child()
--
Nishanth Aravamudan <[EMAIL PROTECTED]>
IBM Linux Technology Center
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel