New PAGG patch for 2.6.10, new functionality

Erik Jacobson <[email protected]>
Newsgroups gmane.linux.process-aggregates
Message-ID <[email protected]>
Hi there.

I just uploaded a new PAGG patch for 2.6.10.  It includes a request to
slightly change how the attach function pointer of the PAGG hook is
managed.

Note that we may be posting another PAGG patch soon with some other
changes.

We now make it so the PAGG user can decide if a new process will actually
be grouped or not by looking at the attach function pointer return
value.

The attach function, pointed to by the PAGG hook and run by pagg_attach,
can have these return values:

<0 Error which is propagated back to copy_process so
   the fork fails.

=0 success, attach to same container as parent

>0 success, but don't attach to a container

It's also important to note that, as of now, if a negative value is
returned by the attach function pointer, the value will be passed up
through copy_process as a fork failure.


Find the 'linux-2.6.10-pagg.patch' patch at the PAGG web site.
http://oss.sgi.com/projects/pagg/
Click on "Download" on the left.

Thank you.

--
Erik Jacobson - Linux System Software - Silicon Graphics - Eagan, Minnesota
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.