marking normal sleep identifiers as such.

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Jun 17 23:20:52 PDT 2003


Now that we have a bunch of kernel threads which participate in the
running of the system, I find that it is a tad more time consuming
to figure out what the state of a crashed or hung system is.

So I was wondering if we should instigate a simple convention for
the sleep identifiers to make it easier to spot, or rather: ignore,
kthreads which are in their normal idle position.

Since thread names are longer than the space we have in ps(1) output
using the thread name is not feasible solution.

I notice that the interrupt threads all seem to sleep on "-", and
all things considered, I like that.

Should we adopt that as our convention ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-arch mailing list