From owner-cvs-src-old@FreeBSD.ORG Sat Nov 6 11:39:19 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D81510656C5 for ; Sat, 6 Nov 2010 11:39:19 +0000 (UTC) (envelope-from lstewart@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 40B668FC18 for ; Sat, 6 Nov 2010 11:39:19 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oA6BdJSi030175 for ; Sat, 6 Nov 2010 11:39:19 GMT (envelope-from lstewart@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oA6BdJZr030174 for cvs-src-old@freebsd.org; Sat, 6 Nov 2010 11:39:19 GMT (envelope-from lstewart@repoman.freebsd.org) Message-Id: <201011061139.oA6BdJZr030174@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to lstewart@repoman.freebsd.org using -f From: Lawrence Stewart Date: Sat, 6 Nov 2010 11:38:40 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/share/man/man9 alq.9 src/sys/kern kern_alq.c src/sys/sys alq.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2010 11:39:19 -0000 lstewart 2010-11-06 11:38:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man9 alq.9 sys/kern kern_alq.c sys/sys alq.h Log: SVN rev 214872 on 2010-11-06 11:38:40Z by lstewart MFC r207223: - Rework the underlying ALQ storage to be a circular buffer, which amongst other things allows variable length messages to be easily supported. - Extend KPI with alq_writen() and alq_getn() to support variable length messages, which is enabled at ALQ creation time depending on the arguments passed to alq_open(). Also add variants of alq_open() and alq_post() that accept a flags argument. The KPI is still fully backwards compatible and shouldn't require any change in ALQ consumers unless they wish to utilise the new features. - Introduce the ALQ_NOACTIVATE and ALQ_ORDERED flags to allow ALQ consumers to have more control over IO scheduling and resource acquisition respectively. - Strengthen invariants checking. - Document ALQ changes in ALQ(9) man page. Sponsored by: FreeBSD Foundation Reviewed by: gnn, jeff, rpaulo, rwatson Revision Changes Path 1.6.10.1 +262 -77 src/share/man/man9/alq.9 1.19.2.6 +467 -92 src/sys/kern/kern_alq.c 1.6.10.1 +40 -23 src/sys/sys/alq.h