Re: [patchset] Lockfree fd lookup 0 of 5

From: David S. Miller
Date: Mon Aug 02 2004 - 18:18:31 EST


On Mon, 2 Aug 2004 14:01:19 -0700
William Lee Irwin III <wli@xxxxxxxxxxxxxx> wrote:

> I've found unusual results in this area. e.g. it does appear to matter
> for mapping->tree_lock for database workloads that heavily share a
> given file and access it in parallel. The radix tree walk, though
> intuitively short, is long enough to make the rwlock a win in the
> database-oriented uses and microbenchmarks starting around 4x.

Thanks for the data point, because I had this patch I had sent
to Rusty for 2.7.x which ripped rwlocks entirely out of the
kernel. We might have to toss that idea :-)

-
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/