Re: A user-mode kernel implementation

Pavel Machek (pavel@atrey.karlin.mff.cuni.cz)
Thu, 3 Jun 1999 19:55:31 +0200


Hi!

> I have implemented a user-mode version of the kernel. This was done
> by porting the kernel to its own system call interface.
>
> This was done on the 2.0.32 kernel. I apologize for the antiquity of
> this, but it's what I had lying around. Updating it to use a 2.3
> kernel is high on my list of things to do.

That's *cool*.

> What it's good for:
>
> It's fun and cool. It doesn't need to be good for anything.
>
> Kernel debugging.
>
> An MP emulator. It ought to be possible to run an SMP kernel with
> cpus > 1 on a uniprocessor. This will let those of us without MP
> hardware to play with an SMP kernel.
>
> Applying other process-level tools to it, like profilers and test
> coverage analyzers. It would be a worthwhile project to develop a
> coverage test suite for the kernel and run new kernels through it.
>
> This might be a decent way for newbies to get into kernel hacking.
> It certainly reduces the hardware requirements.
>
> If performance improves, it might also be a decent way for kernel
> kiddies to run the latest development kernels without risking damaging
> their systems.
>
> It also might make a decent jail for script kiddies.

* It might be nice for java-like sandboxes - for example clustering
with very wast machine where you (unfortuantely) do not have uid==0

* if it can be made portable, it could be used to turn * into linux

-- 
The best software in life is free (not shareware)!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/