Re: SLUB defrag pull request?

From: Christoph Lameter
Date: Mon Oct 13 2008 - 10:25:43 EST


Miklos Szeredi wrote:
I think it's wrong to unhash dentries while they are possibly still
being used. You can do the shrink_dcache_parent() here, but should
leave the unhashing to be done by prune_one_dentry(), after it's been
checked that there are no other users of the dentry.

d_invalidate() calls shrink_dcache_parent() as needed and will fail if there are other users of the dentry.


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