patch to fix process name: omkmigd -> real name

"Matt Dew" <[email protected]>
Newsgroups gmane.linux.cluster.openmosix.devel
Message-ID <[email protected]>
Here's a patch to fix the process name on the migrated node.  Please review.

If you run top or look in /proc/<pid>/status the name still shows up as omkmigd. This patch fixes that.  It calls proc_pid_cmdline to get the real name, strips off any preceeding path information to just show the executable name and then calls set_task_comm to update the process struct. The process will show up on the remode node as it does on the home node.

Matt
patch-2.6.16-om-5-6 (application/octet-stream, 1.3 KB) - not displayed
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.