context of init_module()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I have a doubt about the context of init_module(). If my driver is
compiled as a module, the context of init_module() would be that of
insmod or modprobe so that its alright to sleep inside it. But, what
happens when the module is linked to the kernel and the function
sleeps?

Can the function sleep at that point? What is the context of
init_module() during kernel boot?

Thank you,

Jinesh.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux