Subject: Re: 80Mbps routing with Micrel KS8695
To: Chris Gilbert <chris@dokein.co.uk>
From: Jason Thorpe <thorpej@shagadelic.org>
List: port-arm
Date: 01/27/2005 06:39:20
On Jan 27, 2005, at 3:29 AM, Chris Gilbert wrote:

> Although looking in sys/mbuf.h, I note that MBUFLOCK appears to use 
> splvm, rather than splnet, yet the comment states:
> prevents a section of code from from being interrupted by network 
> drivers.
> anyone know why we go to splvm?

Sort of historical... splimp used to be "network drivers", but 
practically was "anything that allocated memory".  splvm is now used 
there because those sections of code need to be protected from the 
latter.  The comment needs updating.

-- thorpej