Re: Some questions about linux kernel.

From: Michael Bacarella (mbac@nyct.net)
Date: Tue Mar 14 2000 - 11:17:26 EST


> > > Well why not to reserve memory for root usage only, as this is done with
> > > space on the root file system ?
> >
> > That means no overcommitment of memory. It's a solution, but you'll need
> > _huge_ swapspaces just for making sure each time emacs spawns an ls the
> > space for the 4 500Kb files it has open is available.
>
> Is not vfork() solution to this particular problem?

There are plenty of these solutions where rewriting code can satisfy a
change to the kernel and avoid these problems. Would you like to hack
emacs (and everything else, for that matter) to vfork()/exec() instead? :)

In the best case, it will be a change that is entirely transparent to
userspace and works perfectly, or at least well enough that nobody minds
ignoring the few people who scream in horror when it breaks something dear
to them :) That's what people naturally want to aim for. It'll be
interesting to see how this is resolved (if it's resolved).

-MB

-
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/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:17 EST