> Hi
> 
> Could someone please explain me why using kmalloc() inside a RTL thread
> make the system hangs, whereas it works fine inside init_module()
> routine !!!

becuase init_module may sleep within an rt-thread thats a problem - use
kmalloc with GFP_ATOMIC and you should be safe (aside off course that 
kmalloc can fail and retrun a NULL pointer - so check it as usual).

hofrat
_______________________________________________
Rtl mailing list
[EMAIL PROTECTED]
http://www2.fsmlabs.com/mailman/listinfo.cgi/rtl

Reply via email to