Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2003 08:20:48 +0200
From:      Poul-Henning Kamp <phk@phk.freebsd.dk>
To:        arch@freebsd.org
Subject:   marking normal sleep identifiers as such.
Message-ID:  <36655.1055917248@critter.freebsd.dk>

next in thread | raw e-mail | index | archive | help

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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36655.1055917248>