Quoting Claudio Imbrenda (2022-11-23 13:25:55) [...] > > diff --git a/s390x/migration-during-cmm.c b/s390x/migration-during-cmm.c > > new file mode 100644 > > index 000000000000..3c96283d7b00 > > --- /dev/null > > +++ b/s390x/migration-during-cmm.c > > @@ -0,0 +1,111 @@ > > +/* SPDX-License-Identifier: GPL-2.0-only */ > > +/* > > + * Perform CMMA actions while migrating. > > + * > > + * Copyright IBM Corp. 2022 > > + * > > + * Authors: > > + * Nico Boehr <nrb@xxxxxxxxxxxxx> > > + */ > > + > > +#include <libcflat.h> > > +#include <smp.h> > > +#include <asm-generic/barrier.h> > > + > > +#include "cmm.h" > > + > > +#define NUM_PAGES 128 > > is 128 enough to allow multiple iterations of the thread? Enough for about 16.000 iterations on my box :)