Andrew Morton wrote:
> 
> "Jeff V. Merkey" wrote:
> >
> > They're not modprobes, they're misnamed processes sleeping from NWFS.
> > I got the fix from someone so now they display their proper names.
> > top displays the names correctly, ps does not.  Several people have
> > verified this problem, and all you are saying is that your servers
> > are never heavily loaded for long periods of time, say 200 hours
> > at a stretch of consatnt ftp traffic?
> 
> Kernel threads?  Do this:
> 
>      strcpy(current->comm, "threadname");                       /* 16 char array!! */
>      current->mm->arg_start = current->mm->arg_end = 0;         /* black magic */
> 
> and `ps' should be happy.

Even better, use sched.c:daemonize().
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to