Re: [RFC v4 Patch 0/4] fs/inode.c: optimization for inode lockusage

From: Matthew Wilcox
Date: Fri Sep 21 2012 - 08:17:11 EST


On Fri, Sep 21, 2012 at 05:31:02PM +0800, Guo Chao wrote:
> This patchset optimizes several places which take the per inode spin lock.
> They have not been fully tested yet, thus they are marked as RFC.
>
> I do limited tests after all patches applied: use two 'find' to traverse the
> filesystems and touch all files in parallel. This runs for several days in a
> virtual machine, no suspicious log appears.

Have you done any performance testing? Taking and releasing a lock which
isn't contended is not particularly expensive.

--
Matthew Wilcox Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--
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/