On Wed, 2005-11-16 at 16:34 +0530, Indraneel Mukherjee wrote: > Hi All, > I've got a doubt regarding the call to call_usermodehelper. > Can i invoke it from a timer function? One of the recent thread's on > this mailing list suggest that we can call it from module_init(to get > a process context). But i read somewhere that the process context for > call_usermodehelper is obtained by creating a thread from the > kernel-event daemon. If that is the case, can i invoke > call_usermodehelper from a timer function? call_usermodehelper has to be called from process context. Timer functions aren't, so no you can't do that. What you can do is schedule an event and have that event call it instead. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/