Opened 16 years ago

Last modified 13 years ago

#1102 new enhancement

Enable the kernel to run as a userland process on top of itself

Reported by: axeld Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/Kernel Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by axeld)

As a testbed for kernel development, profiling, etc. a virtual kernel running on top of the actual kernel would be beneficial. Also having it run on top of ie. Linux or BeOS would be nice, if possible, especially as long Haiku is not self hosting.

Jonas Sundström was kind enough to collect some more informations, mostly from the DragonFly project:

"Reduces the engineering cycle time for testing new kernel code

from 5 minutes to 5 seconds." -- Matthew Dillon

DragonFlyBSD: Reasons for wanting to have a working virtual kernel

A few questions and answers

Performance ans system resources

Use of memory

Short-term goals

A few tickets

Function conflicts between kernel and libc

Man page

Production uses for virtual kernels

"Checkpointing" vkernels


Change History (3)

comment:1 by axeld, 16 years ago

Description: modified (diff)

comment:2 by jonas.kirilla, 16 years ago

Some more on DragonFlyBSD's implementation, FWIW.

mmap(.. MAP_VPAGETABLE ..) - with code snippet

Commits - Adjustments to low level madvise/mcontrol/mmap support code to accomodate vmspace_*() calls

What the real kernel does and what the virtual kernel does

Devices that might be meaningful in a virtual kernel

comment:3 by axeld, 13 years ago

Owner: changed from axeld to nobody
Version: R1/pre-alpha1
Note: See TracTickets for help on using tickets.