public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* question about schedule_timeout
@ 2010-12-15 11:58 Julia Lawall
  2010-12-15 12:48 ` Matthew Wilcox
  2010-12-15 13:01 ` Julia Lawall
  0 siblings, 2 replies; 3+ messages in thread
From: Julia Lawall @ 2010-12-15 11:58 UTC (permalink / raw)
  To: kernel-janitors

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-15 13:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-15 11:58 question about schedule_timeout Julia Lawall
2010-12-15 12:48 ` Matthew Wilcox
2010-12-15 13:01 ` Julia Lawall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox