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

Re: slimp()



Making, drinking tea and reading an opus magnum from Ted Unangst:
> On Fri, 30 Apr 2004, Jared Yanovich wrote:
> 
> > > Hi, I've been reading some code and seen the use of splimp(), not knowing 
> > > quite what this did I ran to the man pages and found spl (9) though it 
> > > does not appear on this page. Some searches on marc found that it was a 
> > > priority just above splvm, but noone detailed quite what it did. I was 
> > > hoping someone could clarify quite what it did. 
> > 
> > Design and Implementation of 4.4BSD says splimp() can be used to
> > "[block] all network interface input handling."  A quick grep through
> 
> yeah, it's kinda like splvm and splnet together.  the specifics of 
> precisely when to use each are a bit of a mystery i believe.

splimp is there to protect any allocations from kmem.

cu

-- 
    paranoic mickey       (my employers have changed but, the name has remained)