[Linux-Discussion] kernel-threads

  • From: prasanna wakhare <prasannawakhare@xxxxxxxxx>
  • To: linux-discussion@xxxxxxxxxxxxx
  • Date: Tue, 18 May 2004 12:02:44 -0700 (PDT)

hi,
I'm using two kernel thread one continuously executes
sock_recvmsg and other sends it sontinuosly,ofcource
if i wont put the thread to the sleep the computer
will hang when loading the module containing kernel
thread,i  given MSG_DONTWAIT option in sock_recvmsg,
why i had to put the thread to sleep?
i'm using 2.4.20-8 kernel is that because the kernel
is not preemptive?
so if i will execute those in 2.6
will it work?

2.while unloading the same  module the kernel gives 
oopse saying "unable to handle virtual address at
c0xxxxx address" it will hang somewhere in
kernel_thread_helper in process.c 
i google search above but i did not get any threads
plz let me know the reason...
thanks
Prasanna




        
                
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/

Other related posts:

  • » [Linux-Discussion] kernel-threads