Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2015 17:45:02 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        "freebsd-arm@FreeBSD.org" <freebsd-arm@FreeBSD.org>
Subject:   ARM_NEW_PMAP
Message-ID:  <1427413502.8776.10.camel@freebsd.org>

next in thread | raw e-mail | index | archive | help
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.

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1427413502.8776.10.camel>