Subject: Re: bumping ASID
To: None <port-mips@netbsd.org>
From: Jason R Thorpe <thorpej@zembu.com>
List: port-mips
Date: 03/27/2000 17:02:20
On Tue, Mar 28, 2000 at 09:39:49AM +0900, Toru Nishimura wrote:
> I have a question about how ASID (== TLBpid, ASN) should be managed.
> Should kernel_pmap() be immune to bump ASID by pmap_asid_alloc()? (see
> mips/mips/pmap.c)
Look at how its done in NetBSD/alpha. Kernel mappings are all Global,
so the ASID doesn't apply. In NetBSD/alpha, I think I made the kernel
use a "reserved" ASN (the Alpha name for ASID) which also meant "invalid"
for user pmaps.
--
-- Jason R. Thorpe <thorpej@zembu.com>