tech-net archive

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

Re: apparently missing locking in if_bnx.c



On Tue, Mar 06, 2012 at 08:39:33PM +0100, Martin Husemann wrote:
> On Tue, Mar 06, 2012 at 08:35:28PM +0100, Manuel Bouyer wrote:
> > curcpu()->ci_ilevel is x86-specific, unfortunably ...
> 
> Make it something like:
> 
> #ifdef CPU_ASSERT_SPL
>       CPU_ASSERT_SPL(...)
> #endif
> 
> and have archs (optionally) provide the magic (which is similar or identical
> to the x86 one on quite a lot archs, IIRC).

I'd like to see something like that. 

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index