Hi,

At Thu, 28 May 2015 11:20:44 +0000,
Antti Kantee wrote:

> 2) the current implementation supports only NetBSD, and there is no 
> magic that would allow you to form a rump kernel out of the Linux kernel 
> sources without significant work.  There is a project called NUSE [1], 
> and if you want to study Linux, you might want to look at that instead. 
>   That said, I do not know how or how completely they implement memory 
> management.

memory management in NUSE (or Linux libos in more broader
sense, which is _still_ in an upstream process) is based on
a userspace allocator, which replaces all allocator
functions in Linux kernel (kmalloc, etc) with malloc(3) or
our own memory allocator (we call this as SLIB *1).

other allocators in linux/mm are not able to use as-is with
the current NUSE.

*1 https://github.com/libos-nuse/net-next-nuse/blob/nuse/mm/slib.c

-- Hajime

Reply via email to