Re: [PATCH 4/7] fs: break the file_list_lock for sb->s_files

From: Christoph Hellwig
Date: Sun Jan 28 2007 - 09:44:22 EST


On Sun, Jan 28, 2007 at 12:51:22PM +0100, Peter Zijlstra wrote:
> Break the protection of sb->s_files out from under the global file_list_lock.
>
> sb->s_files is converted to a lock_list. furthermore to prevent the
> lock_list_head of getting too contended with concurrent add operations
> the add is buffered in per cpu filevecs.

NACK. Please don't start using lockdep internals in core code.

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