From owner-cvs-src@FreeBSD.ORG Wed Apr 2 04:08:37 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA2E81065673; Wed, 2 Apr 2008 04:08:37 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C2E168FC1D; Wed, 2 Apr 2008 04:08:37 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m3248bBE044861; Wed, 2 Apr 2008 04:08:37 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3248bnW044860; Wed, 2 Apr 2008 04:08:37 GMT (envelope-from davidxu) Message-Id: <200804020408.m3248bnW044860@repoman.freebsd.org> From: David Xu Date: Wed, 2 Apr 2008 04:08:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/sys umtx.h src/sys/kern kern_umtx.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 02 Apr 2008 04:08:38 -0000 davidxu 2008-04-02 04:08:37 UTC FreeBSD src repository Modified files: sys/sys umtx.h sys/kern kern_umtx.c Log: Introduce kernel based userland rwlock. Each umtx chain now has two lists, one for readers and one for writers, other types of synchronization object just use first list. Asked by: jeff Revision Changes Path 1.65 +487 -45 src/sys/kern/kern_umtx.c 1.31 +21 -1 src/sys/sys/umtx.h