From owner-freebsd-arm@FreeBSD.ORG Fri Aug 31 03:06:55 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 16C2E106566C for ; Fri, 31 Aug 2012 03:06:55 +0000 (UTC) (envelope-from alc@rice.edu) Received: from mh11.mail.rice.edu (mh11.mail.rice.edu [128.42.199.30]) by mx1.freebsd.org (Postfix) with ESMTP id DC0748FC14 for ; Fri, 31 Aug 2012 03:06:54 +0000 (UTC) Received: from mh11.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh11.mail.rice.edu (Postfix) with ESMTP id 056064C02A2; Thu, 30 Aug 2012 22:06:53 -0500 (CDT) Received: from mh11.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh11.mail.rice.edu (Postfix) with ESMTP id 040334C029C; Thu, 30 Aug 2012 22:06:53 -0500 (CDT) X-Virus-Scanned: by amavis-2.7.0 at mh11.mail.rice.edu, auth channel Received: from mh11.mail.rice.edu ([127.0.0.1]) by mh11.mail.rice.edu (mh11.mail.rice.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id NY4HIJsdKPGn; Thu, 30 Aug 2012 22:06:52 -0500 (CDT) Received: from adsl-216-63-78-18.dsl.hstntx.swbell.net (adsl-216-63-78-18.dsl.hstntx.swbell.net [216.63.78.18]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: alc) by mh11.mail.rice.edu (Postfix) with ESMTPSA id AABA24C0272; Thu, 30 Aug 2012 22:06:52 -0500 (CDT) Message-ID: <50402A4A.9070407@rice.edu> Date: Thu, 30 Aug 2012 22:06:50 -0500 From: Alan Cox User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:8.0) Gecko/20111113 Thunderbird/8.0 MIME-Version: 1.0 To: Ian Lepore References: <502FD67A.7030003@rice.edu> <1345315508.27688.260.camel@revolution.hippie.lan> <503D12AE.1050705@rice.edu> <1346350374.1140.525.camel@revolution.hippie.lan> In-Reply-To: <1346350374.1140.525.camel@revolution.hippie.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "arm@freebsd.org" Subject: Re: arm pmap locking X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2012 03:06:55 -0000 On 08/30/2012 13:12, Ian Lepore wrote: > On Tue, 2012-08-28 at 13:49 -0500, Alan Cox wrote: >> Can you please retry with the attached patch? For the time being, I >> decided to address the above problem by simply enabling recursion on the >> new pmap lock. As I mentioned in my prior message, the lock recursion >> in the arm pmap is a mistake. However, I'd rather not change two things >> at once, i.e., replace the page queues lock and fix the lock recursion. >> I'll take a look at eliminating the lock recursion later this week. >> >> Thanks, >> Alan >> > Sorry for the delay, I finally got around to trying this today, and it > seems to be working well initially -- it boots to multiuser and the only > difference in the dmesg.boot with and without the patch is the compile > date, and the kernel image is 128 bytes smaller with the patch. I've > got DIAGNOSTIC and INVARIANTS enabled; I'll run with the patch in place > and let you know if anything glitches. > Thanks! Alan