Re: [PATCH v4 3/5] lib/test: Introduce cpumask KUnit test suite

From: Sander Vanheule
Date: Sun Jul 03 2022 - 03:26:21 EST


On Sat, 2022-07-02 at 14:45 -0700, Yury Norov wrote:
> > On Sat, Jul 02, 2022 at 06:08:26PM +0200, Sander Vanheule wrote:
> > > > Add a basic suite of tests for cpumask, providing some tests for empty
> > > > and completely filled cpumasks.
> > > >
> > > > Signed-off-by: Sander Vanheule <sander@xxxxxxxxxxxxx>
> > > > Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> > > > ---
> > > >
> > > > Notes:
> > > >     Changes since v3:
> > > >     - Test for_each_cpu*() over empty mask and cpu_possible_mask
> > > >     - Add Andy's Reviewed-by
> > > >     - Use num_{online,present,possible}_cpus() for builtin masks
> > > >     - Guard against CPU hotplugging during test for dynamic builtin CPU masks
> > > >    
> > > >     Changes since v2:
> > > >     - Rework for_each_* test macros, as suggested by Yury
> >
> > We have a special tag for it:
> >
> > Suggested-by: Yury Norov <yury.norov@xxxxxxxxx>

Of course, sorry I forgot about this. I should've included this already when introducing this patch
anyway.

Best,
Sander