vmalloc for zlib workspace

David Woodhouse dwmw2 at infradead.org
Mon May 26 09:38:28 EDT 2003


On Mon, 2003-05-26 at 13:35, Jörn Engel wrote:
> A workmate of mine had another good point.  The mutex and workspace
> could be two arrays instead, with one member per CPU.  That way, we
> don't need a CONFIG_TINY option and the code scales automatically from
> small embedded to multi-gigabyte SMP.

Assuming you add a preempt_disable()... in one of the pieces of code
which was one of the main culprits for non-voluntary scheduling anyway.

-- 
dwmw2





More information about the linux-mtd mailing list