> While reading the code vfs_aio.c, I find out some comments saying it is
> not safe to post a signal from the interrupt handler aio_physwakeup().  So
> it calls timeout(9) within that handler and let the timeout routine to
> post the signal. I do not understand this. Isn't the timeout mechanism
> also driven by an interrupt (clock)? 
> 
> Any enlightment is appreciated.
> 
> -Zhihui
> 
AFAIK it is safe to post a signal in an interrupt context. Maybe it has
more to do with reducing interrupt latency than safety.

-lq


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to