Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!brl-tgr!tgr!lwa@mit-mrclean.ARPA From: lwa@mit-mrclean.ARPA (Larry Allen) Newsgroups: net.unix-wizards Subject: Re: difference btw splnet & splimp Message-ID: <10369@brl-tgr.ARPA> Date: Thu, 2-May-85 13:11:34 EDT Article-I.D.: brl-tgr.10369 Posted: Thu May 2 13:11:34 1985 Date-Received: Sat, 4-May-85 09:01:58 EDT Sender: news@brl-tgr.ARPA Lines: 11 Not quite. The network input code called from device interrupt handlers requests a software interrupt at the net ipl. Raising priority to splnet() blocks the software interrupt from occurring until the ipl is lowered again. This is important in synchronizing access to the network data structures (like the queues of mbufs on the send and receive sides of sockets). There is some relatively tricky synchronization going on here among the device interrupts, network software interrupt, and process-level code. I would recommend not messing with it unless you completely understand it. -Larry Allen