[PATCH RFC] 1/2 central workspace for zlib
Jörn Engel
joern at wohnheim.fh-wedel.de
Sat May 31 02:48:51 EDT 2003
On Fri, 30 May 2003 17:14:10 -0700, David S. Miller wrote:
>
> Actually, your idea is interesting. Are you going to use
> per-cpu workspaces?
Yes, I already am.
> I think the best scheme is 2 per-cpu workspaces, one for
> normal and one for softirq context.
Agreed. Current patch doesn't cover softirq context yet.
> No locking needed whatsoever. I hope it can work :-)
How about preemption? zlib operations take their time, so at least on
up, it makes sense to preempt them, when not in softirq context. Can
this still be done lockless?
Jörn
--
More computing sins are committed in the name of efficiency (without
necessarily achieving it) than for any other single reason - including
blind stupidity.
-- W. A. Wulf
More information about the linux-mtd
mailing list