Subject: Re: port-mips/31915: provide centralized wired_map logic
To: None <tsutsui@netbsd.org, gnats-admin@netbsd.org,>
From: SODA Noriyuki <soda@sra.co.jp>
List: netbsd-bugs
Date: 11/01/2005 15:42:02
The following reply was made to PR port-mips/31915; it has been noted by GNATS.
From: SODA Noriyuki <soda@sra.co.jp>
To: garrett_damore@tadpole.com
Cc: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>,
SODA Noriyuki <soda@sra.co.jp>, gnats-bugs@NetBSD.org,
port-mips@NetBSD.org
Subject: Re: port-mips/31915: provide centralized wired_map logic
Date: Wed, 2 Nov 2005 00:41:45 +0900
"Garrett D'Amore" <garrett_damore@tadpole.com> wrote:
> >- pagemask for wired maps should be defined in machine dependent headers,
> > or maybe it should be passed from callers.
>
> I don't like passing it from callers, because I don't want it to be
> variable. (This would make the code a lot more complex to make sure it
> was correct and you didn't have overlapping maps, etc.) But defining
> it in the machine dependent header seems reasonable.
If we'll provide an implementation which is reusable from various
ports, pagemask should be passed from callers.
ARC port needs it.
--
soda