Re: [kvm-unit-tests PATCH v1 2/2] s390x: add CMM test during migration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :)




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux