On Wed, Dec 08, 2004 at 02:03:21PM -0800, Limin Gu wrote:-
I am looking for your comments on the attached draft, it is the job patch for 2.6.9. I have posted job patch for older kernel before, but in this patch
I have replaced the /proc/job binary ioctl calls with a new small virtual filesystem (jobfs).
Job uses the hook provided by PAGG (Process Aggregates). A job is a group
related processes all descended from a point of entry process and identified
by a unique job identifier (jid). You can find the general information
about PAGG and Job at http://oss.sgi.com/projects/pagg/
I will very much appreciate your comments, suggestions and criticisms
on this new filesystem design and implementation as the job kernel/user
communication interface. The patch is still a draft.
I maintain my position that this belongs in /proc.
Why not have a structure something like:
/proc/<pid>/job -> ../jobs/<jid>
/proc/jobs/<jid>/<pid> -> ../../<pid>
What other information is really necessary from userland?