== With patch applied ==
ubuntu@ubuntu:~/testing/mce-test/cases/function/hwpoison$ uname -a
Linux ubuntu 4.10.0-22-generic #24~lp1696165+softlockup.1 SMP Wed Jun 14 19:05:07 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
ubuntu@ubuntu:~/testing/mce-test/cases/function/hwpoison$ sudo ./run_hugepage_overcommit.sh
[sudo] password for ubuntu:
hwpoison-inject module is loaded.
Num of Executed Test Case: 1 Num of Failed Case: 1
Testcase failure is expected because hugepage migration is not enabled in the Ubuntu configs. Please not that we no longer see softlockups. The patch fixed that bug.
== With patch applied == ubuntu: ~/testing/ mce-test/ cases/function/ hwpoison$ uname -a softlockup. 1 SMP Wed Jun 14 19:05:07 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
ubuntu@
Linux ubuntu 4.10.0-22-generic #24~lp1696165+
ubuntu@ ubuntu: ~/testing/ mce-test/ cases/function/ hwpoison$ sudo ./run_hugepage_ overcommit. sh
[sudo] password for ubuntu:
hwpoison-inject module is loaded.
******* ******* ******* ******* ******* ******* ******* ******* ******* ******* *****
Pay attention:
This test checks that hugepage soft-offlining works under overcommitting. ******* ******* ******* ******* ******* ******* ******* ******* ******* *****
*******
------- ------- ------- ------- ------- -- overcommit 1
TestCase ./thugetlb_
FAIL: migration failed.
Unpoisoning.
Num of Executed Test Case: 1 Num of Failed Case: 1
Testcase failure is expected because hugepage migration is not enabled in the Ubuntu configs. Please not that we no longer see softlockups. The patch fixed that bug.