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. I'll work on a patch... Jörn -- It's just what we asked for, but not what we want! -- anonymous