Re: [patch 08/14] fs: scale inode alias list

From: Andi Kleen
Date: Mon Mar 30 2009 - 08:18:33 EST


npiggin@xxxxxxx writes:

> Add a new lock, dcache_inode_lock, to protect the inode's i_dentry list
> from concurrent modification. d_alias is also protected by d_lock.

This would seem to ask for per object lock? Why not put it into the inode?

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/