Re: Why can't we sleep in an ISR?

2007-05-15 Thread Learning Linux
The interrupt handler's execution time will definitely defer the execution of the process, but I think it does not steal the process's time slice (the time_slice field not subtracted). It will definitely be substracted from the process's time slice. Because the timeslice is substracted in timer

Re: Why can't we sleep in an ISR?

2007-05-14 Thread Learning Linux
> I have a very basic doubt here ... what makes it impossible to sleep > in an ISR? I mean, I know that the kernel preemption is disabled and > the kernel will panic, but I could not understand why? Because the interrupt which you are serving in the ISR has been masked to avoid preemption( true f

Why can't we sleep in an ISR?

2007-05-13 Thread Learning Linux
I have a very basic doubt here ... what makes it impossible to sleep in an ISR? I mean, I know that the kernel preemption is disabled and the kernel will panic, but I could not understand why? TIA, LL - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mess