Subject: Re: two historical question about kern_ktrace.c
To: Christos Zoulas <christos@zoulas.com>
From: enami tsugutomo <enami@sm.sony.co.jp>
List: tech-kern
Date: 02/27/2004 10:28:33
christos@zoulas.com (Christos Zoulas) writes:

> My guess is to prevent it from blocking/sleeping because we are
> careless and we are calling ktrace functions from points where
> sleeping is not allowed?

If so, we need to avoid the write operation also, to prevent a process
waiting for I/O completion.  And if the write operation is done by
other thread or is defered until other safe ktrxxx() call, the fp
itself isn't necessary to be marked non-blocking, is it?

enami.