| To: | Kaigai Kohei <kaigai@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: CpuSet on PAGG (Re: PAGG in Open Source projects?) |
| From: | Guillaume Thouvenin <guillaume.thouvenin@xxxxxxxx> |
| Date: | Mon, 31 Jan 2005 11:29:26 +0100 |
| Cc: | Paul Jackson <pj@xxxxxxx>, erikj@xxxxxxxxxxxxxxxxxxxxxxx, pagg@xxxxxxxxxxx, limin@xxxxxxxxxxxxxxxxxx, LSE-Tech <lse-tech@xxxxxxxxxxxxxxxxxxxxx>, guillaume.thouvenin@xxxxxxxx |
| In-reply-to: | <41FDFCDC.8080504@ak.jp.nec.com> |
| References: | <Pine.SGI.4.53.0501181437280.627920@subway.americas.sgi.com> <41F8E117.5030501@ak.jp.nec.com> <20050127081753.5a9d16af.pj@sgi.com> <41FA330A.2030303@ak.jp.nec.com> <20050128050807.24018fb3.pj@sgi.com> <41FDFCDC.8080504@ak.jp.nec.com> |
| Sender: | pagg-bounce@xxxxxxxxxxx |
On Mon, 2005-01-31 at 18:39 +0900, Kaigai Kohei wrote:
> For example, we must append individually cpuset_fork() for CpuSet,
> pagg_attach() for PAGG(CSA+Job), ckrm_cb_fork() for CKRM in kernel/fork.c
> when we try to use those advanced features.
> In this case, we need to patch into three points in kernel/fork.c.
> But if we have a common purpose hook in kernel/fork.c, those advanced
> features does not need to modify kernel/fork.c directly.
> They have only to register their own event handler for the fork-hook.
Thus in this case, the interesting aspect of PAGG is not the "container"
aspect but it's the "hook manager" aspect, right?
PAGG has only a callback for "exec" and not for "fork". So, if you want
to use PAGG has a common hook in "fork" for several applications, we
need to add new hook (like pagg_fork in kernel/fork.c:do_fork()).
Is it be possible to split PAGG into two pieces:
1. The container manager part
2. The hook manager part
Thanks,
Guillaume
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: CpuSet on PAGG (Re: PAGG in Open Source projects?), Kaigai Kohei |
|---|---|
| Next by Date: | Re: CpuSet on PAGG (Re: PAGG in Open Source projects?), Paul Jackson |
| Previous by Thread: | Re: CpuSet on PAGG (Re: PAGG in Open Source projects?), Kaigai Kohei |
| Next by Thread: | Re: CpuSet on PAGG (Re: PAGG in Open Source projects?), Paul Jackson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |