From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Mon 02 Jun 2003 - 16:03:19 BST
On Sun, May 25, 2003 at 11:14:49PM +0200, Herbert Poetzl wrote:
> bla bla ...
> To make it short, I believe the vserver patches
> could benefit from each other, and it would be
> advantageous to re-think/re-adjust some concepts.
> Suggestions for readjustments:
> - context creation/destruction should be independant
> of the actual processes (within the context)
taking this a step further, one could enter a
context with chctx (or chcontext) <handle> and
all limits/ip addresses and tables/quotas/etc
would be automatically applied ...
the current functionality (utilizing several
commands to change the different properties for
one process, could be achieved with a dynamic
context creation and modification, so there
would be no need to 'change' the current shell
scripts (APIs) immediately, although it would
be beneficial ...
why should one do that? because
- from userland perspective, it provides a
consistent state (the context <handle>)
with absolutely no exceptions.
- this 'state' could be easily queried or
modified, without thinking about the
inside processes (like you would do with
a 'real' server ...
- from the (kernel) programming perspective
this would simplify the relation between
process - context - features
> bla bla ...
please let me(us) know what you think,