Re: scheduling while atomic in z3fold
From: Sebastian Andrzej Siewior
Date: Mon Nov 30 2020 - 09:29:06 EST
On 2020-11-30 14:53:22 [+0100], Oleksandr Natalenko wrote:
> > diff --git a/mm/zswap.c b/mm/zswap.c
> > index 78a20f7b00f2c..b24f761b9241c 100644
> > --- a/mm/zswap.c
> > +++ b/mm/zswap.c
> > @@ -394,7 +394,9 @@ struct zswap_comp {
> > u8 *dstmem;
> > };
> >
> > -static DEFINE_PER_CPU(struct zswap_comp, zswap_comp);
> > +static DEFINE_PER_CPU(struct zswap_comp, zswap_comp) = {
> > + .lock = INIT_LOCAL_LOCK(lock),
>
> Is it a residue?
It as been added on purpose.
Sebastian