Re: [patchset] Lockfree fd lookup 0 of 5

From: David S. Miller
Date: Mon Aug 02 2004 - 15:11:12 EST


On Mon, 2 Aug 2004 17:56:07 +0100
viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:

> How about this for comparison? That's just a dumb "convert to rwlock"
> patch; we can be smarter in e.g. close_on_exec handling, but that's a
> separate story.

Compares to plain spinlocks, rwlock's don't buy you much,
if anything, these days.

Especially for short sequences of code.
-
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/