Re: Problems with interrupts on -current.

2001-09-21 Thread Josef Karthauser
[This is the continuation of a thread that started on -committers] On Sun, Sep 16, 2001 at 02:48:48PM +0100, Josef Karthauser wrote: On Sun, Sep 16, 2001 at 01:35:20AM +0100, Josef Karthauser wrote: On Sat, Sep 15, 2001 at 03:51:07PM +0200, Dag-Erling Smorgrav wrote: Josef Karthauser

Re: Problems with interrupts on -current.

2001-09-21 Thread Terry Lambert
John Baldwin wrote: The problem is that during a fast interrupt handler, we don't acknowledge the interrupt until we return from the interrupt handler, so if we preempt it may be a while before we get back to the interrupted process so it can finish the interrupt handler and ack the interrupt

Re: Problems with interrupts on -current.

2001-09-21 Thread Terry Lambert
John Baldwin wrote: Bah, we leave interrupts disabled during fast interrupt handlers, so this should be fine in -current since the softclock swi_sched() uses SWI_NOSWITCH (there is no NOSWITCH flag in a preemptive kernel, it's automatic and that is what bit the preemption kernel). I think