[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <t6n4qhqpexui7gfzkdw6r4ai3pztt7qg45fc5hjg3qydodp77n@oh5k6pzpyjwa>
Date: Wed, 4 Feb 2026 18:49:03 +0000
From: Yosry Ahmed <yosry.ahmed@...ux.dev>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Kanchana P Sridhar <kanchana.p.sridhar@...el.com>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org, hannes@...xchg.org, nphamcs@...il.com,
chengming.zhou@...ux.dev, usamaarif642@...il.com, ryan.roberts@....com, 21cnbao@...il.com,
ying.huang@...ux.alibaba.com, senozhatsky@...omium.org, sj@...nel.org, kasong@...cent.com,
linux-crypto@...r.kernel.org, herbert@...dor.apana.org.au, davem@...emloft.net,
clabbe@...libre.com, ardb@...nel.org, ebiggers@...gle.com, surenb@...gle.com,
kristen.c.accardi@...el.com, vinicius.gomes@...el.com, giovanni.cabiddu@...el.com,
wajdi.k.feghali@...el.com
Subject: Re: [PATCH v14 00/26] zswap compression batching with optimized
iaa_crypto driver
On Wed, Feb 04, 2026 at 10:39:25AM -0800, Andrew Morton wrote:
> On Wed, 4 Feb 2026 18:21:43 +0000 Yosry Ahmed <yosry.ahmed@...ux.dev> wrote:
>
> > On Sat, Jan 24, 2026 at 07:35:11PM -0800, Kanchana P Sridhar wrote:
> > [..]
> >
> > I think this series is really hard to move and respin in its current
> > form.
> >
> > Herbert, could we take in the crypto patches separately (if they are
> > ready)? Not sure if it's better to take them through the crypto tree
> > (and provide a tag for Andrew?), or through the mm tree.
>
> Keeping everything in the same tree is of course simpler.
>
> > But either way,
> > most review is on the later zswap patches and respinning all these
> > crypto patch every time is a pain.
>
> It's mainly a crypto patchset by linecount:
>
> : .../driver-api/crypto/iaa/iaa-crypto.rst | 168 +-
> : crypto/acompress.c | 110 +-
> : crypto/testmgr.c | 10 +
> : crypto/testmgr.h | 74 +
> : drivers/crypto/intel/iaa/Makefile | 4 +-
> : drivers/crypto/intel/iaa/iaa_crypto.h | 95 +-
> : .../intel/iaa/iaa_crypto_comp_dynamic.c | 22 +
> : drivers/crypto/intel/iaa/iaa_crypto_main.c | 2926 ++++++++++++-----
> : drivers/crypto/intel/iaa/iaa_crypto_stats.c | 8 +
> : drivers/crypto/intel/iaa/iaa_crypto_stats.h | 2 +
> : include/crypto/acompress.h | 68 +
> : include/crypto/algapi.h | 5 +
> : include/crypto/internal/acompress.h | 15 +
> : include/linux/crypto.h | 3 +
> : mm/zswap.c | 724 ++--
> : 15 files changed, 3144 insertions(+), 1090 deletions(-)
> : create mode 100644 drivers/crypto/intel/iaa/iaa_crypto_comp_dynamic.c
>
> So I expect it'll work to take all this into the crypto tree.
Herbert, are the crypto patches ready to be picked up? If yes, could you
please pick them, then we can figure out how to route the dependent
zswap patches based on the timeline?
>
> > > mm: zswap: Tie per-CPU acomp_ctx lifetime to the pool.
> > > mm: zswap: Consistently use IS_ERR_OR_NULL() to check acomp_ctx
> > > resources.
> >
> > Andrew, I think this two zswap patches are in good shape, and are
> > standalone improvements. Do they apply to mm-unstable? Could we take
> > them in separately to lighten the load of respinning this?
>
> "mm: zswap: Tie per-CPU acomp_ctx lifetime to the pool" throws a few
> rejects.
>
> "mm: zswap: Consistently use IS_ERR_OR_NULL() to check acomp_ctx
> resources" also throws rejects when applied standalone.
Kanchana, could you please respin these 2 changes, and a new change to
store the nid in the zswap_entry, and send them out separately?
We can land them separate from the rest of the series to accelerate
things.
Powered by blists - more mailing lists