From owner-cvs-all Sat Jul 13 20:20:42 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8521437B400; Sat, 13 Jul 2002 20:20:40 -0700 (PDT) Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27F2243E5E; Sat, 13 Jul 2002 20:20:40 -0700 (PDT) (envelope-from hsu@FreeBSD.org) Received: from FreeBSD.org ([63.193.112.125]) by mta5.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GZ70051NYMF0X@mta5.snfc21.pbi.net>; Sat, 13 Jul 2002 20:20:40 -0700 (PDT) Date: Sat, 13 Jul 2002 20:20:52 -0700 From: Jeffrey Hsu Subject: Re: cvs commit: src/sys/netinet udp_usrreq.c In-reply-to: Message from Garrett Wollman "of Sat, 13 Jul 2002 23:14:02 EDT." <200207140314.g6E3E21x074021@khavrinen.lcs.mit.edu> To: Garrett Wollman Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Message-id: <0GZ70051OYMF0X@mta5.snfc21.pbi.net> MIME-version: 1.0 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > There's nothing wrong with doing that. In fact, that's the only way > to atomically sleep and restore an elevated spl on wakeup. Yes, yes, I know. But we're not talking about the general sleep wakeup paradigm here. We're talking about a splnet() and a malloc(M_WAITOK). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message