tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pserialize & hw interrupt



Ryota Ozaki <ozaki-r%netbsd.org@localhost> wrote:
> Can we use pserialize for readers in hardware interrupt?
> If we use splhigh instead of splsoftserial (pserialize_read_enter)
> for critical sections of the readers, we can guarantee that
> the readers don't touch a removed object anymore after
> pserialize_perform. It this correct?

It is correct, however we are trying to do less work in the hardware
interrupt handlers by moving it to the software interrupts.

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index