Re: [RFC] parallel directory operations

Andi Kleen (ak@suse.de)
Tue, 8 Jul 2003 14:11:36 +0200


On Tue, 08 Jul 2003 15:50:27 +0000
bzzz@tmi.comex.ru wrote:

> well, it makes sense. AFAIU, only problem with this solution is that we need
> very well-tuned hash function.

A small rbtree or similar would work too. Linux already has the utility code for this.
And a fast path to avoid the overhead when it isn't needed (e.g. first locker uses a
preallocated lock node, which is cheap to queue)

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/