Re: KLD, kernel threads, zone allocator

2000-07-21 Thread Zhihui Zhang
On Mon, 17 Jul 2000, Zhihui Zhang wrote: I am writing a KLD that gives me kernel fault each time I run 'ps' command after 'make unload'. The KLD has a system call to create several kernel threads by calling kthread_create(). During unload, I set flags to each threads so that they will

KLD, kernel threads, zone allocator

2000-07-17 Thread Zhihui Zhang
I am writing a KLD that gives me kernel fault each time I run 'ps' command after 'make unload'. The KLD has a system call to create several kernel threads by calling kthread_create(). During unload, I set flags to each threads so that they will call exit1() upon wakeup (sleep on a timeout).