[PATCH RFC] 1/2 central workspace for zlib
David S. Miller
davem at redhat.com
Sat May 31 02:20:04 EDT 2003
From: James Morris <jmorris at 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.
More information about the linux-mtd
mailing list