Re: [RFC, PATCH 1/3] introduce SYS_CLONE_MASK

Robin Holt
2007-04-09T14:52:11Z

On Mon, Apr 09, 2007 at 08:36:21AM -0600, Eric W. Biederman wrote:
> Robin Holt <holt@sgi.com> writes:
>
> > I would say this is more a benefit than a problem. With a couple of these
> > systems we are testing, the number of kernel threads is far greater than
> > the number of user processes and having pstree not normally show them, but
> > maybe have an option we add later to show them again would be beneficial.
>
> Sure.
>
> Robin how many kernel thread per cpu are you seeing?

10.

FYI, pid 1539 is kthread.

a01:~ # ps -ef | egrep "\[.*\/255\]"
root 512 1 0 Apr08 ? 00:00:00 [migration/255]
root 513 1 0 Apr08 ? 00:00:00 [ksoftirqd/255]
root 1281 1 0 Apr08 ? 00:00:02 [events/255]
root 2435 1539 0 Apr08 ? 00:00:00 [kblockd/255]
root 3159 1539 0 Apr08 ? 00:00:00 [aio/255]
root 4007 1539 0 Apr08 ? 00:00:00 [cqueue/255]
root 8653 1539 0 Apr08 ? 00:00:00 [ata/255]
root 17438 1539 0 Apr08 ? 00:00:00 [xfslogd/255]
root 17950 1539 0 Apr08 ? 00:00:00 [xfsdatad/255]
root 18426 1539 0 Apr08 ? 00:00:00 [rpciod/255]

Thanks,
Robin