wake_up and wait_event

2000-12-12 Thread Sourav Ghosh
Hi, I have two questions: 1. Is it ok to make a "wake_up_process()" call from an interrupt handler? In my work, there is a kernel thread that sleeps under "sleep_on()" and wakes up by the "wake_up_process()" by an interrupt handler. My system is crashing and I just wanna make sure if this is

wake_up and wait_event

2000-12-12 Thread Sourav Ghosh
Hi, I have two questions: 1. Is it ok to make a "wake_up_process()" call from an interrupt handler? In my work, there is a kernel thread that sleeps under "sleep_on()" and wakes up by the "wake_up_process()" by an interrupt handler. My system is crashing and I just wanna make sure if this is