Re: [PATCH RFC] 1/2 central workspace for zlib

David S. Miller
2003-05-31T06:21:01Z

From: James Morris <jmorris@intercode.com.au>
Date: Sat, 31 May 2003 01:29:42 +1000 (EST)

This won't work for the bh lock protected case outlined above, and
will cause contention between different users of zlib.

My understanding is that these are just scratchpads. The contents
while a decompress/compress operation is not occuring does not
matter.

So if we have 2 such scratchpads per cpu, one for normal and one for
BH context, his idea truly can work and be useful to everyone.
It would also be lockless on SMP.