> I developed 3 new system calls for linux. Have a look to them (attached
> there is also the little source), and let me know if someone is
> interested in
> them.
>
> The system calls are:
>
> gettask(TaskName) This call returns the number of running
> "TaskName"
> processes on the system
>
> getfirsttaskid(TaskName) This call returns the first PID of
> "TaskName"
>
> getnexttaskid(TaskName) This call return the next PID of
> "TaskName"
Wouldn't it be better to do this in user-space???
The kernel is big enough as it is...
Furthermore, what's the reason for implementing these
systcalls? It looks like a simple 'ps ax|grep TaskName'
could do the same...
(I could be wrong however, as I haven't read the code
yet :-)
Rik.
+-----------------------------+------------------------------+
| For Linux mm-patches, go to | "I'm busy managing memory.." |
| my homepage (via LinuxHQ). | H.H.vanRiel@fys.ruu.nl |
| ...submissions welcome... | http://www.fys.ruu.nl/~riel/ |
+-----------------------------+------------------------------+
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu