Re: [Vserver] [RFC][PATCH 0/9] separate internal kernel pids from userspace ones
On Mon, 2005-10-24 at 23:09 +0100, Martin wrote: On Mon, 2005-10-24 at 18:21 +0200, Dave Hansen wrote: I'm working on a project to checkpoint and restart processes. Obviously, after a process dies, and is transparently restarted, it might get confused because its pid changed. (This is one of many issues, but I'm starting with pids) I've seen some process checkpointing / migration patches for Linux in the past. Have you had a look around to see if there is anything else that already does this. Perhaps I'm getting the wrong end of the stick but it might save you some time. Basically, all of the existing patches were meant to be just that: patches. My goal is to get everything into the mainline kernel. It turns out that it's much easier to step back and rethink what we need, and recode it to the current kernel standards than try to shoehorn something that exists into shape. Also, many of the existing projects try to do too much in userspace. That said, I'm getting lots of inspiration from existing projects like vserver. -- Dave ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Documentation /proc/virtual/*?
Hi ! Is there any documentation of what the various keys and values in the files in /proc/virtual/ mean (more than just a 'ls -R /proc/virtual/*')? The keys (=subdirs) btw are the Context-IDs of the running VServer guest systems. Oh yes, this isn't too hard to find out :) on the first attempt I found this doc: http://linux-vserver.org/HowTo+Read+ProcFS Maybe this helps? No, this is just a cat *. What I want to know is what all those funny values mean, e.g. what do these three columns with 2 values each in cacct mean, what is load_updates, what are the values in limit etc. Thanks in advance. By(e): Raimund Specht. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] [RFC][PATCH 8/9] proc interface to tsk-container_id
On Mon, 2005-10-24 at 22:27 +0200, Herbert Poetzl wrote: On Mon, Oct 24, 2005 at 06:21:30PM +0200, Dave Hansen wrote: We allow setting this for now, but it's mostly just for debugging at this point. --- linux-2.6.14-rc5-dave/fs/proc/base.c| 56 linux-2.6.14-rc5-dave/include/linux/sched.h |1 2 files changed, 57 insertions(+) diff -puN fs/proc/base.c~C3-proc-interface-to-container_id fs/proc/base.c --- linux-2.6.14-rc5/fs/proc/base.c~C3-proc-interface-to-container_id 2005-10-24 17:55:41.0 +0200 +++ linux-2.6.14-rc5-dave/fs/proc/base.c2005-10-24 17:55:41.0 +0200 @@ -165,9 +165,11 @@ enum pid_directory_inos { PROC_TID_OOM_SCORE, PROC_TID_OOM_ADJUST, PROC_TID_CHILD_CONTAINER_ID, + PROC_TID_CHILD_CONTAINER_ID, ~~~ doesn't look right to me ... You are right. I mis-copied-and-pasted. I'll fix that up. It was just for debugging anyway. -- Dave ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver