question about schedule_timeout

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

 



I am wondering about the interaction between schedule_timeout and 
functions like local_irq_save, that turn off interrupts.  To my 
understanding, with schedule_timeout one sleeps until a timer interrupt is 
received.  But how can that be received if interrupts have been turned 
off?  I find this mostly in older code, but there are still some 
occurrences, and even in older code, I'm not sure to understand how it 
could have worked.

thanks,
julia
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux