From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Subject: Re: vfsmount lock issues on very large ppc64 box Date: Sat, 16 Jul 2011 19:04:28 -0600 Message-ID: <20110717010427.GC5359@parisc-linux.org> References: <20110717105027.53cc3ca4@kryten> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: npiggin@kernel.dk, viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Andi Kleen , Tim Chen To: Anton Blanchard Return-path: Received: from palinux.external.hp.com ([192.25.206.14]:45691 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754700Ab1GQBEa (ORCPT ); Sat, 16 Jul 2011 21:04:30 -0400 Content-Disposition: inline In-Reply-To: <20110717105027.53cc3ca4@kryten> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sun, Jul 17, 2011 at 10:50:27AM +1000, Anton Blanchard wrote: > Looking closer, all of these calls are in pipefs and sockfs. > Since we never mount either filesystem they never get a long term > reference and we always end up in the very slow write brlock path > that takes a lock for each online CPU. > > Here is a quick hack that takes a long term reference on pipefs > and sockfs which fixes the problem. Any thoughts on how we should > fix it properly? I know Tim and Andi have been looking into this ... I forget what their fix was though. -- 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."