From owner-cvs-all Tue Aug 13 1: 0:43 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 32C2837B400; Tue, 13 Aug 2002 01:00:37 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6A8043E4A; Tue, 13 Aug 2002 01:00:36 -0700 (PDT) (envelope-from alfred@FreeBSD.org) Received: from freefall.freebsd.org (alfred@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7D80aJU021060; Tue, 13 Aug 2002 01:00:36 -0700 (PDT) (envelope-from alfred@freefall.freebsd.org) Received: (from alfred@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7D80ajd021058; Tue, 13 Aug 2002 01:00:36 -0700 (PDT) Message-Id: <200208130800.g7D80ajd021058@freefall.freebsd.org> From: Alfred Perlstein Date: Tue, 13 Aug 2002 01:00:36 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sysv_msg.c X-FreeBSD-CVS-Branch: HEAD 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 alfred 2002/08/13 01:00:36 PDT Modified files: sys/kern sysv_msg.c Log: Make SYSVMSG mpsafe. Right now there is a global lock over the entire subsystem, we could move to per-message queue locks, however the messages themselves seem to come from a global pool and to avoid over-locking this code (locking individual queues, then the global pool) I've opted to just do it this way. Requested by: rwatson Tested by: NetBSD's regression suite. Revision Changes Path 1.43 +31 -19 src/sys/kern/sysv_msg.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message