Ugh, my mail client ate my reply, lemme try again.
On 05-Oct-00 Boris Popov wrote:
Hello,
Currently I'm trying to make KLD which uses kernel threads
unloadable under recent -current. The prototype of functions looks like
this:
void
my_thread(void*arg)
{
On Thu, 5 Oct 2000, John Baldwin wrote:
You need Giant before calling kthread_exit().
Ok.
After some examination I've found that two fields in the Giant mutex
structure set to unexpected values:
It should have died much earlier if you had INVARIANTS turned on. :( It
looks