On 6/8/07, Serge E. Hallyn <[email protected]> wrote:
Anyway the patch I sent is simple enough, and if users end up demanding the ability to better deal with exclusive cpusets, the patch will be simple enough to extend by changing cpuset_auto_setup(), so let's stick with that patch since it's your preference (IIUC).
Sounds good to me, although I think my preference would be to extend the "create()" subsystem callback with a "struct task_struct *clone_task" parameter that indicates that clone_task is cloning its own container; a subsystem like cpusets that needs to do additional setup at that point could inherit settings either from the parent or from clone_task's container (or something else) as desired. (It could also do permission checking based on properties of clone_task, etc). Paul - 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] [PATCH 00/10] Containers(V10): Generic Process Containers
- From: "Serge E. Hallyn" <[email protected]>
- Re: [ckrm-tech] [PATCH 00/10] Containers(V10): Generic Process Containers
- References:
- Re: [PATCH 00/10] Containers(V10): Generic Process Containers
- From: "Serge E. Hallyn" <[email protected]>
- Re: [PATCH 00/10] Containers(V10): Generic Process Containers
- From: "Serge E. Hallyn" <[email protected]>
- Re: [PATCH 00/10] Containers(V10): Generic Process Containers
- From: Paul Jackson <[email protected]>
- Re: [PATCH 00/10] Containers(V10): Generic Process Containers
- From: "Serge E. Hallyn" <[email protected]>
- Re: [ckrm-tech] [PATCH 00/10] Containers(V10): Generic Process Containers
- From: Paul Jackson <[email protected]>
- Re: [ckrm-tech] [PATCH 00/10] Containers(V10): Generic Process Containers
- From: "Serge E. Hallyn" <[email protected]>
- Re: [ckrm-tech] [PATCH 00/10] Containers(V10): Generic Process Containers
- From: Paul Jackson <[email protected]>
- Re: [ckrm-tech] [PATCH 00/10] Containers(V10): Generic Process Containers
- From: "Serge E. Hallyn" <[email protected]>
- Re: [ckrm-tech] [PATCH 00/10] Containers(V10): Generic Process Containers
- From: Paul Jackson <[email protected]>
- Re: [ckrm-tech] [PATCH 00/10] Containers(V10): Generic Process Containers
- From: "Serge E. Hallyn" <[email protected]>
- Re: [PATCH 00/10] Containers(V10): Generic Process Containers
- Prev by Date: Re: [PATCH] Re: Linux v2.6.22-rc3
- Next by Date: Re: [patch 7/8] fdmap v2 - implement sys_socket2
- Previous by thread: Re: [ckrm-tech] [PATCH 00/10] Containers(V10): Generic Process Containers
- Next by thread: Re: [ckrm-tech] [PATCH 00/10] Containers(V10): Generic Process Containers
- Index(es):