Scheduler queue in interrupt handler not working

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

 



Hi,

I have an interrupt handler which schedules two queues (say task1 and task2) based on the interrupt bit being set.
One of the task queue in the interrupt handler (task1) is scheduled to trigger the above function getinfo(). 

The function getinfo() performs a read-write operation. The read operation has a interruptible_sleep_on_timeout which will be waken up by the task2 from the interrupt handler. 
Under the given circumstances, if an interrupt arrives after the module is loaded, the system goes to a confused state. Although, I am able to use the system, my keyboard stops working. I tried using the regular task_queue in vain. using a tasklet also failed (system panic) for me.

Can you please guide me.

I am using RHL 9.0 with kernel 2.4.20-8

Thanks in advance,
Joe

[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