On Tue, Nov 07, 2006 at 07:15:18PM -0800, Paul Jackson wrote: > It goes like this ... grab a cup of coffee. Thanks for the nice and big writeup! > Each directory in a container file system has a file called 'tasks' > listing the pids of the tasks (newline separated decimal ASCII format) > in that partition element. As was discussed in a previous thread, having a 'threads' file also will be good. http://lkml.org/lkml/2006/11/1/386 > Because containers define a partition of the tasks in a system, each > task will always be in exactly one of the partition elements of a > container file system. Tasks are moved from one partition element > to another by writing their pid (decimal ASCII) into the 'tasks' > file of the receiving directory. Writing to 'tasks' file will move that single thread to the new container. Writing to 'threads' file will move all the threads of the process into the new container. -- Regards, vatsa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
- From: "Chris Friesen" <[email protected]>
- Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
- From: Paul Jackson <[email protected]>
- Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
- References:
- Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
- From: Srivatsa Vaddagiri <[email protected]>
- Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
- From: "Paul Menage" <[email protected]>
- Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
- From: Srivatsa Vaddagiri <[email protected]>
- Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
- From: "Paul Menage" <[email protected]>
- Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
- From: Srivatsa Vaddagiri <[email protected]>
- Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
- From: "Paul Menage" <[email protected]>
- Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
- From: Paul Jackson <[email protected]>
- Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
- From: "Paul Menage" <[email protected]>
- Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
- From: "Paul Menage" <[email protected]>
- Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
- From: Paul Jackson <[email protected]>
- Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
- Prev by Date: Re: Faustian Pact between Novell and Microsoft
- Next by Date: Re: 2.6.19-rc4: known unfixed regressions (v3)
- Previous by thread: Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
- Next by thread: Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
- Index(es):