On (24/06/01 11:54), Herbert Xu wrote: > On Sat, Jun 01, 2024 at 09:24:15AM +0900, Sergey Senozhatsky wrote: > > > > Is it possible to share a tfm? I thought that tfm-s carry some state > > (compression workmem/scratch buffer) so one cannot do parallel compressions > > on different CPUs using the same tfm. > > Yes the tfm can be shared. The data state is kept in the request > object. Oh, nice, thanks. I'll try that new API (and tfm sharing) in zram, coordinate with android folks on this and will come back to you.