Re: [rfc][patch] dynamic resizing dentry hash using RCU

From: David Miller
Date: Sun Mar 04 2007 - 23:38:23 EST


From: Nick Piggin <npiggin@xxxxxxx>
Date: Mon, 5 Mar 2007 05:27:24 +0100

> Sounds great, I would be happy to help review it. If we can create a
> bit of common infrastructure, the dcache conversion might become a bit
> more palatable and we could look at other things like the inode hash
> as well.

Absolutely, I'll run my patch by you once I have it ready.

> The other thing you'll have to be careful of when looking at doing
> an implementation, is that I think I forgot to use the RCU accessors
> (rcu_assign_pointer, rcu_dereference) when assigning and loading
> the new/old hash table pointers.

Thanks for the heads-up.

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