Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site opus.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!ut-sally!nbires!opus!jmoore From: jmoore@opus.UUCP (Jim Moore) Newsgroups: net.unix-wizards Subject: spl5() call in kern_exit.c (4.2BSD) Message-ID: <774@opus.UUCP> Date: Sat, 1-Sep-84 16:07:25 EDT Article-I.D.: opus.774 Posted: Sat Sep 1 16:07:25 1984 Date-Received: Sun, 16-Sep-84 08:10:18 EDT Distribution: net Organization: NBI, Boulder Lines: 18 Can any wizards out there explain the call to spl5() in the 4.2 exit code? The comment just says something like: (void) spl5(); /* hack for mem alloc race XXX */ I am trying to cut down on the amount of time that the kernel stays at high interrupt priority, and this code maintains spl5 all the way into swtch(). Any one know what race condition this interlock avoids? As usual, I'll summarize upon request. Thanks, Jim Moore NBI, Boulder Colorado [ucbvax|hao|amd]!nbires!jmoore