Re: dentry bloat.

From: Dipankar Sarma
Date: Mon May 10 2004 - 14:12:07 EST

On Mon, May 10, 2004 at 09:26:45AM -0700, Paul E. McKenney wrote:
> On Mon, May 10, 2004 at 09:54:04AM -0500, Matt Mackall wrote:
> > Ok, I can spin something up. I'll start with a generic no-RCU-on-UP
> > and then we can think about the small SMP case a bit later.
> Hello, Matt,
> You may wish to start with the dcache portion of Dipankar's earlier patch:
> It does not remove the extra rcu_head from the dentry, but does the
> rest of the work.

Matt and I had discussed this privately sometime ago and I will
send him somewhat cleaned up patches that introduces call_rcu_direct()
which, in UP kernel, invokes the callback directly. The corresponding
read-side critical section will have to protect itself with
rcu_read_lock_bh() or rcu_read_lock_irq() if an update can happen
from softirq or irq context.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at