Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753381Ab1C1VGc (ORCPT ); Mon, 28 Mar 2011 17:06:32 -0400 Received: from smtp-out.google.com ([216.239.44.51]:56447 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752464Ab1C1VGb (ORCPT ); Mon, 28 Mar 2011 17:06:31 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=g3LOY+fBNG6gKjdXp/pQ+rJtQswJ2rrHRIRi0MzGXKAa3cRN16DZrqJuR/XpviFQOD kjMZ+aEToCofmab2Iy6Q== MIME-Version: 1.0 In-Reply-To: <081DDE43F61F3D43929A181B477DCA95639B5349@MSXAOA6.twosigma.com> References: <081DDE43F61F3D43929A181B477DCA95639B52FD@MSXAOA6.twosigma.com> <081DDE43F61F3D43929A181B477DCA95639B5327@MSXAOA6.twosigma.com> <20110324174311.GA31576@infradead.org> <081DDE43F61F3D43929A181B477DCA95639B5349@MSXAOA6.twosigma.com> Date: Mon, 28 Mar 2011 14:06:25 -0700 Message-ID: Subject: Re: XFS memory allocation deadlock in 2.6.38 From: Michel Lespinasse To: Sean Noonan Cc: Christoph Hellwig , "linux-kernel@vger.kernel.org" , Martin Bligh , Trammell Hudson , Christos Zoulas , "linux-xfs@oss.sgi.com" , Stephen Degler , "linux-mm@kvack.org" Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 973 Lines: 21 On Mon, Mar 28, 2011 at 7:58 AM, Sean Noonan wrote: >> Regarding the deadlock: I am curious to see if it could be made to >> happen before 5ecfda041e4b4bd858d25bbf5a16c2a6c06d7272. Could you test >> what happens if you remove the MAP_POPULATE flag from your mmap call, >> and instead read all pages from userspace right after the mmap ? I >> expect you would then be able to trigger the deadlock before >> 5ecfda041e4b4bd858d25bbf5a16c2a6c06d7272. > > I still see the deadlock without MAP_POPULATE Could you test if you see the deadlock before 5ecfda041e4b4bd858d25bbf5a16c2a6c06d7272 without MAP_POPULATE ? -- Michel "Walken" Lespinasse A program is never fully debugged until the last user dies. -- 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/