Re: [PATCH 00/10] Hwpoison soft-offline rework

From: Naoya Horiguchi
Date: Wed Sep 11 2019 - 03:22:37 EST


On Wed, Sep 11, 2019 at 08:35:26AM +0200, osalvador@xxxxxxx wrote:
> On 2019-09-11 08:22, Naoya Horiguchi wrote:
> > I found another panic ...
>
> Hi Naoya,
>
> Thanks for giving it a try. Are these testcase public?
> I will definetely take a look and try to solve these cases.

It's available on https://github.com/Naoya-Horiguchi/mm_regression.
The README is a bit obsolete (sorry about that ...,) but you can run
the testcase like below:

$ git clone https://github.com/Naoya-Horiguchi/mm_regression
$ cd mm_regression
mm_regression $ git clone https://github.com/Naoya-Horiguchi/test_core
mm_regression $ make
// you might need to install some dependencies like numa library and mce-inject tool
mm_regression $ make update_recipes

To run the single testcase, run the commands like below:

mm_regression $ RECIPEFILES=cases/page_migration/hugetlb_migratepages_allocate1_noovercommit.auto2 bash run.sh
mm_regression $ RECIPEFILES=cases/cases/mce_ksm_soft-offline_avoid_access.auto2 bash run.sh

You can run a set of many testcases with the commands like below:

mm_regression $ RECIPEFILES=cases/cases/mce_ksm_* bash run.sh
// run all ksm related testcases. I reproduced the panic with this command.

mm_regression $ run_class=simple bash run.sh
// run the set of minimum testcases I run for each releases.

Hopefully this will help you.

Thanks,
Naoya Horiguchi