== 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.

***************************************************************************
Pay attention:

This test checks that hugepage soft-offlining works under overcommitting.
***************************************************************************


-------------------------------------
TestCase ./thugetlb_overcommit 1
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.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1696165

Title:
  [SRU][Zesty] fix soft lockup on overcommited hugepages

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  [Impact]
  On failing to migrate a page, soft_offline_huge_page() performs the necessary 
update to the hugepage ref-count.

  But when !hugepage_migration_supported() , unmap_and_move_hugepage()
  also decrements the page ref-count for the hugepage. The combined
  behaviour leaves the ref-count in an inconsistent state.

  This leads to soft lockups when running the overcommitted hugepage
  test from mce-tests suite

  [Testing]
  Run the mce-test/cases/function/hwpoison/run_hugepage_overcommit.sh and you 
should see softlock up if hugepage migration support is not enabled.

  [Fix]
  upstream commit:
  30809f559a0d mm/migrate: fix refcount handling when 
!hugepage_migration_supported()

  [Regression Potential]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1696165/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to