Subject: Re: amd64 pmap & using a pool for pv_entry
To: None <port-amd64@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: port-amd64
Date: 09/25/2006 23:01:48
In article <15837.0760073469$1159181286@news.gmane.org>,
 <murray@river-styx.org> wrote:
>Hi Folks,
>    I've been reading over the amd64 pmap code and comparing it with other
>pmaps in the NetBSD source tree and OpenBSD and decided to convert the
>NetBSD amd64 pmap code to use a pool for pv_entry objects. Codewise,
>this is a simple port of the OpenBSD amd64 pmap. (I left out OpenBSD's
>other changes)
>    I've noticed that several other NetBSD arch's use pools for this as
>well and was wondering why the amd64 code on NetBSD wasn't. My
>modified pmap kernel is working fine so far and I have measured some
>basic builds with the current pmap and my changes and have not seen
>any variation in build times on a multiprocessor machine running build
>with -j 2.
>   Does anyone know? I did find some comment against the i386 cvs comments
>from ages ago mentioning incompatibility between the pool code and pmap
>code.
>   If anyone wants a copy of the patches, just ask.

Can you send-pr them please?

christos