Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755292Ab1C3BcM (ORCPT ); Tue, 29 Mar 2011 21:32:12 -0400 Received: from mx5.twosigma.com ([208.77.212.35]:63786 "EHLO mx5.twosigma.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753785Ab1C3BcK convert rfc822-to-8bit (ORCPT ); Tue, 29 Mar 2011 21:32:10 -0400 From: Sean Noonan To: "'Dave Chinner'" CC: "'Christoph Hellwig'" , "'Michel Lespinasse'" , "'linux-kernel@vger.kernel.org'" , Martin Bligh , Trammell Hudson , Christos Zoulas , "'linux-xfs@oss.sgi.com'" , Stephen Degler , "'linux-mm@kvack.org'" Date: Tue, 29 Mar 2011 21:32:06 -0400 Subject: RE: XFS memory allocation deadlock in 2.6.38 Thread-Topic: XFS memory allocation deadlock in 2.6.38 Thread-Index: Acvubs3lAgbl/pL5S5SKyjAXFGp9pQAChB/A Message-ID: <081DDE43F61F3D43929A181B477DCA95639B5364@MSXAOA6.twosigma.com> References: <081DDE43F61F3D43929A181B477DCA95639B52FD@MSXAOA6.twosigma.com> <081DDE43F61F3D43929A181B477DCA95639B5327@MSXAOA6.twosigma.com> <20110324174311.GA31576@infradead.org> <081DDE43F61F3D43929A181B477DCA95639B5349@MSXAOA6.twosigma.com> <081DDE43F61F3D43929A181B477DCA95639B534E@MSXAOA6.twosigma.com> <081DDE43F61F3D43929A181B477DCA95639B5359@MSXAOA6.twosigma.com> <20110329192434.GA10536@infradead.org> <081DDE43F61F3D43929A181B477DCA95639B535D@MSXAOA6.twosigma.com> <20110330000942.GI3008@dastard> In-Reply-To: <20110330000942.GI3008@dastard> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 685 Lines: 15 > Ok, so that looks like root cause of the problem. can you try the > patch below to see if it fixes the problem (without any other > patches applied or reverted). It looks like this does fix the deadlock problem. However, it appears to come at the price of significantly higher mmap startup costs. # ./vmtest /xfs/hugefile.dat $(( 16 * 1024 * 1024 * 1024 )) /xfs/d-1/hugefile.dat: mapped 17179869184 bytes in 324387362198 ticks Sean -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/