If isr is getting called continuously as you said, kernel thread which has
lower priority than any isr will not get opportunity to run on cpu. The rate
of irq should be throttled properly.
2011. 7. 30. 오전 6:25에 "Pandi" <pandiwelco...@gmail.com>님이 작성:
>
> Hi,
>
> I am working on Linux Kernel 2.6.35 driver. I have code like as
> follows
>
> ///////////////////////////
> Process A
> {
> wait_event(event_q,condition);
> }
> /////////////////////////
> ///////////////////////////////
> ISR
> {
> fun_1();
> }
> fun_1(){
>  wakeup(event);
> }
> /////////////////////////
>
> Problem here is Process A is waiting for event from ISR  and at time
> condition in wait_event also true.
> ISR is getting called continuously and wake up also getting called.
> However the process A is not coming out from wait_event.
>
> Sometimes is coming out from wait_event after 10 second and other case
> This is not at all coming out from wait_event()..
>
> Can you please help me on this? What is root cause of this problem?
> How to solve this?
>
> --
> unsubscribe: android-kernel+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-kernel

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to