From owner-cvs-src@FreeBSD.ORG Sun Feb 29 09:54:06 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6671E16A4CE; Sun, 29 Feb 2004 09:54:06 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4923943D1D; Sun, 29 Feb 2004 09:54:06 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i1THs6Ge067463; Sun, 29 Feb 2004 09:54:06 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i1THs5hG067462; Sun, 29 Feb 2004 09:54:05 -0800 (PST) (envelope-from rwatson) Message-Id: <200402291754.i1THs5hG067462@repoman.freebsd.org> From: Robert Watson Date: Sun, 29 Feb 2004 09:54:05 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern uipc_socket.c uipc_socket2.c src/sys/sys socketvar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 17:54:06 -0000 rwatson 2004/02/29 09:54:05 PST FreeBSD src repository Modified files: sys/kern uipc_socket.c uipc_socket2.c sys/sys socketvar.h Log: Modify soalloc() API so that it accepts a malloc flags argument rather than a "waitok" argument. Callers now passing M_WAITOK or M_NOWAIT rather than 0 or 1. This simplifies the soalloc() logic, and also makes the waiting behavior of soalloc() more clear in the calling context. Submitted by: sam Revision Changes Path 1.163 +3 -10 src/sys/kern/uipc_socket.c 1.120 +1 -1 src/sys/kern/uipc_socket2.c 1.109 +1 -1 src/sys/sys/socketvar.h