Re: [Lse-tech] Re: [PATCH] new CSA patchset for 2.6.8

From: Limin Gu
Date: Tue Aug 31 2004 - 11:07:14 EST


>
> On Tue, Aug 31, 2004 at 11:06:47AM +0200, Guillaume Thouvenin wrote:
> > On Fri, Aug 27, 2004 at 12:55:03PM -0700, Jay Lan wrote:
> > > Please visit http://oss.sgi.com/projects/pagg/
> > > The page has been updated to provide information on a per job
> > > accounting project called 'job' based on PAGG.
> > >
> > > There is one userspace rpm and one kernel module for job.
> > > This may provide what you are looking for. It is a mature product
> > > as well. I am sure Limin(job) and Erik(pagg) would appreciate any
> > > input you can provide to make 'job' more useful.
> >
> > I have a question about job. If I understand how it works, you can not
> > add a process in a job. I mean when you start a session, a container is
> > created and it's the only way to create it. If I'm right, I think that it
> > could be interesting to add a process using ioctl and /proc interface.
>
> I think that I'm not very clear. You can add a process to a container
> using the /proc/csa interface but it seems that currently this feature
> is not available with job-1.2.1 package. Therefore, maybe we can add a
> command called jattach that will attach a process to a given jid...

The current job package is job-1.4.0-1, you can find it at
ftp://oss.sgi.com/projects/pagg/download

And it is correct that JOB_ATTACH ioctl is not implemented right now.
We could implement that ioctl and also add a user command like jattach.

We are trying to push the job kernel module to the community, but the ioctl
and /proc binary interface seems not an appropriate kernel and user space
communication interface. When job gets more users other CSA and there are
more interest about job, maybe we could request a new syscall number
in linux.

--Limin

>
> Best,
> Guillaume
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/