On Mon, Dec 1, 2014 at 3:44 PM, Chris Mason <c...@fb.com> wrote: > > But looking harder it's probably inside wait_sb_inodes: > > spin_lock(&inode_sb_list_lock);
Yeah, that's a known pain-point for sync(), although nobody has really cared enough, since performance of parallel sync() calls is usually not very high on anybody's list of things to care about except when it occasionally shows up on some old Unix benchmark (maybe AIM, I forget). Anyway, lock debugging will make what is usually not noticeable into a "whee, that's horrible", because the lock debugging overhead is often many *many* times higher than the cost of the code inside the lock.. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/