Re: Linux/Pro -- clusters

Albert D. Cahalan
2001-12-11T08:39:59Z

Alexander Viro writes:

> Basically you propose to take the current system, replace it with
> something without clear memory management ("let it leak") and then
> try to fix the resulting mess.
>
> I would rather switch code that uses kdev_t to use of dynamically
> allocated structures. Subsystem-by-subsystem. Keeping decent
> memory management on every step.
>
> It's _way_ easier than trying to fix leaks and dangling pointers in
> the fuzzy code we'd get with your approach. Just look at the fun
> Richard has with devfs right now.

Leaks go away if you add a garbage collector. To get rid of the
dangling pointers, write this part of the kernel in Java or LISP.
There's an OS called emacs that was done this way, and even has
a LISP engine under the GPL. Grab that code maybe.

>:-)