From owner-freebsd-arm@FreeBSD.ORG Mon Mar 30 19:21:57 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C8232A06; Mon, 30 Mar 2015 19:21:57 +0000 (UTC) Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail-n.franken.de", Issuer "Thawte DV SSL CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B00085F; Mon, 30 Mar 2015 19:21:57 +0000 (UTC) Received: from [192.168.1.189] (p5481918D.dip0.t-ipconnect.de [84.129.145.141]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id 82B131C104DF9; Mon, 30 Mar 2015 21:21:53 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: ARM_NEW_PMAP From: Michael Tuexen In-Reply-To: <1427413502.8776.10.camel@freebsd.org> Date: Mon, 30 Mar 2015 21:21:51 +0200 Content-Transfer-Encoding: 7bit Message-Id: <85FDE234-EA8A-4637-889F-1C1F2D7264BD@fh-muenster.de> References: <1427413502.8776.10.camel@freebsd.org> To: Ian Lepore X-Mailer: Apple Mail (2.2070.6) Cc: "freebsd-arm@FreeBSD.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2015 19:21:57 -0000 > On 27 Mar 2015, at 00:45, Ian Lepore wrote: > > With commit r280712, we now have a new alternate implementation of the > arm pmap code available (the low-level part of virtual memory handling). > Right now it's disabled by default; if you'd like to help test it, add > to your kernel config: > > options ARM_NEW_PMAP > > This new implementation is a complete rewrite, but is modeled after the > mature and well-tested i386 pmap code. In the testing I've done over > the past few days I've noticed some performance improvement (a 12-minute > kernel build on a wandboard quad is now 10 minutes). Even more than > performance, though, this new code should bring us better stability. > > My testing showed that this does fix the "no l2 bucket..." panic that > showed up recently. Hi Ian, I tested this on a RPI-B and can confirm that is resolves the 'no l2 bucket' issue and seems to be pretty stable. I did not experience any issue with it over the last 2 days of testing. Good work! Best regards Michael > > If you need to check whether the new or old code is running on a system, > use "sysctl vm.pmap.pte1.promotions", if that gives an "unknown oid" > error you're running the old code. > > Big Thanks go to Svata Kraus and Michal Meloun who contributed this code > (along with an embarrassed apology that it took 2 years to get it > committed). > > -- Ian > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >