== Without the patch == ubuntu@ubuntu:~/testing/mce-test/cases/function/hwpoison$ sudo ./run_hugepage_overcommit.sh [sudo] password for ubuntu:
*************************************************************************** Pay attention: This test checks that hugepage soft-offlining works under overcommitting. *************************************************************************** ------------------------------------- TestCase ./thugetlb_overcommit 1 [ 1628.254754] NMI watchdog: BUG: soft lockup - CPU#8 stuck for 22s! [thugetlb_overco:3154] [ 1660.668149] INFO: rcu_sched self-detected stall on CPU [ 1660.672210] INFO: rcu_sched detected stalls on CPUs/tasks: [ 1660.672216] 8-...: (14998 ticks this GP) idle=72f/140000000000001/0 softirq=1348/1348 fqs=7389 [ 1660.672217] (detected by 18, t=15002 jiffies, g=3147, c=3146, q=503) [ 1660.692986] 8-...: (14998 ticks this GP) idle=72f/140000000000001/0 softirq=1348/1348 fqs=7392 [ 1660.701752] (t=15009 jiffies g=3147 c=3146 q=503) [ 1840.695633] INFO: rcu_sched self-detected stall on CPU [ 1840.699810] INFO: rcu_sched detected stalls on CPUs/tasks: [ 1840.699818] 8-...: (59995 ticks this GP) idle=72f/140000000000001/0 softirq=1348/1348 fqs=27921 [ 1840.699818] (t=60007 jiffies g=3147 c=3146 q=1101) [ 1840.719086] 8-...: (60000 ticks this GP) idle=72f/140000000000000/0 softirq=1348/1348 fqs=27921 [ 1840.727935] (detected by 1, t=60007 jiffies, g=3147, c=3146, q=1101) -- 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