Re: Interrupt handlers and mutex

2010-01-05 Thread Manuel Bouyer
On Tue, Jan 05, 2010 at 04:04:23PM +, Mindaugas Rasiukevicius wrote: David Holland dholland-t...@netbsd.org wrote: NetBSD also has soft interrupts that have more process context than ordinary interrupt handlers; instead of borrowing the context of whatever's running when the

Re: Interrupt handlers and mutex

2009-12-31 Thread David Holland
On Thu, Dec 31, 2009 at 01:52:48PM -0600, Frank Zerangue wrote: Help request -- Mutex(9) indicates that mutex replaces the spl(9) system. Here are some general (non-NetBSD-specific) answers based on underlying principles that will hopefully explain the situation better. (1) When writing an

Re: Interrupt handlers and mutex

2009-12-31 Thread Frank Zerangue
Thanks you David -- excellent explanation. Frank On Dec 31, 2009, at 5:51 PM, David Holland wrote: On Thu, Dec 31, 2009 at 01:52:48PM -0600, Frank Zerangue wrote: Help request -- Mutex(9) indicates that mutex replaces the spl(9) system. Here are some general (non-NetBSD-specific) answers