[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFzjUd90WFnQWyMErQG-CBvdipoi1qQexBJpWh7UKKeFkg@mail.gmail.com>
Date: Mon, 1 Dec 2014 16:39:45 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Chris Mason <clm@...com>
Cc: Dâniel Fraga <fragabr@...il.com>,
Dave Jones <davej@...hat.com>,
Sasha Levin <sasha.levin@...cle.com>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: frequent lockups in 3.18rc4
On Mon, Dec 1, 2014 at 3:44 PM, Chris Mason <clm@...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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists