Subject: amap memory allocation
To: None <tech-kern@netbsd.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 06/11/2006 14:45:45
hi,
i've put some code at:
ftp://ftp.netbsd.org/pub/NetBSD/misc/yamt/vmem/
which includes:
1. implement solaris-like vmem.
(still primitive, but should work enough for the following purposes)
2. implement solaris-like kmem_alloc/free api, using #1.
(note: this implementation is backed by kernel_map, thus can't be
used from interrupt context.)
3. make amap to use kernel_map rather than kmem_map, using #2.
i'll commit them for #3 unless anyone objects.
YAMAMOTO Takashi