Subject: Re: splx() optimization [was Re: SMP re-eetrancy in "bottom half"
To: None <ups@tree.com>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 05/30/2005 08:28:01
> > how about:
> >
> > testl $(-(1 << (num + 1))), CPUVAR(IPENDING)
> >
>
> Only the IPI and timer interrupt pending bits are ordered.
> ( Pending interrupts (except IPI,timer) are not currently scheduled in
> priority order on lowering the interrupt level)
>
> Your proposed change may pick up pending bits of interrupts that are
> currently masked. This could delay interrupt delivery.
>
> Stephan
ah, yes, you're right. thanks for clarification.
YAMAMOTO Takashi