mm: thp testcase come from CVE reproducer
This is a reproducer of CVE-2011-0999, which fixed by mainline commit
"Transparent hugepages can only be created if rmap is fully functional.
So we must prevent hugepages to be created while
is_vma_temporary_stack() is true."
When running in a loop, it can trigger panic like this, if kernel
kernel BUG at mm/huge_memory.c:1260!
invalid opcode: 0000 [#1] SMP
last sysfs file:
So I recommend to run it as 'thp01 -I xxx'.
Signed-off-by: Pingtian Han <email@example.com>
Signed-off-by: Caspar Zhang <firstname.lastname@example.org>
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.