Subject: Re: kernel wired pages
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Chuck Silvers <chuq@chuq.com>
List: tech-kern
Date: 01/20/2005 07:37:47
On Mon, Jan 17, 2005 at 05:03:30PM +0900, YAMAMOTO Takashi wrote:
> > not using kernel_object for kernel memory that will never be pageable
> > is a fine idea.  but could we think about reducing the number of interfaces
> > and use more flags to get all the variations?
> 
> i prefer to have separate interfaces because they have
> different arguments.
> eg. to allocate wired memory, "preferred offset" isn't needed.

the "preferred offset" parameter doesn't appear to be used by
any of the callers, so we could just get rid of it entirely.

even if it were useful, I like have a unified interface even if
it means that in some calls one of the arguments doesn't mean anything.

-Chuck