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

From: David S. Miller (davem@redhat.com)
Date: Sat May 31 2003 - 01:25:29 EST


From: James Morris <jmorris@xxxxxxxxxxxxxxxx>
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/