ARM_NEW_PMAP

Michael Tuexen tuexen at fh-muenster.de
Mon Mar 30 19:21:57 UTC 2015


> On 27 Mar 2015, at 00:45, Ian Lepore <ian at FreeBSD.org> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
> 



More information about the freebsd-arm mailing list