Date: Thu, 8 Jul 2010 03:28:25 +0000 (UTC) From: Lawrence Stewart <lstewart@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/share/man/man9 alq.9 src/sys/kern kern_alq.c src/sys/sys alq.h Message-ID: <201007080356.o683uClj007298@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
lstewart 2010-07-08 03:28:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) share/man/man9 alq.9 sys/kern kern_alq.c sys/sys alq.h Log: SVN rev 209788 on 2010-07-08 03:28:25Z 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.22.2 +262 -77 src/share/man/man9/alq.9 1.27.2.6 +467 -90 src/sys/kern/kern_alq.c 1.6.22.2 +40 -23 src/sys/sys/alq.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007080356.o683uClj007298>