Re: [RFC PATCH 7/7] mm: zswap: Use acomp virtual address interface

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

 



On (25/03/05 11:45), Herbert Xu wrote:
> > IIUC, what Herbert is suggesting is that we rework all of this to use SG
> > lists to reduce copies, but I am not sure which copies can go away? We
> > have one copy in the compression path that probably cannot go away.
> > After the zsmalloc changes (and ignoring highmem), we have one copy in
> > the decompression path for when objects span two pages. I think this
> > will still happen with SG lists, except internally in the crypto API.
> 
> It's the decompression copy when the object spans two pages that
> will disappear.  Because I have added SG support to LZO:

Hmm at a price of diverging code bases?  Is it really worth it?

And it's not guaranteed that all algorithms will switch over to SG,
so the linerisation will stay around.




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux