Date: Fri, 26 May 2006 18:17:53 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys queue.h Message-ID: <200605261817.k4QIHri3008397@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
emaste 2006-05-26 18:17:53 UTC FreeBSD src repository Modified files: sys/sys queue.h Log: Add sanity checking for QUEUE(3) TAILQs under INVARIANTS (similar to the LIST checks). Races may lead to list corruption, which can be difficult to unravel in a post-mortem analysis. These checks verify that the prev and next pointers are consistent when inserting or removing elements, thus catching any corruption earlier. Revision Changes Path 1.66 +37 -0 src/sys/sys/queue.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605261817.k4QIHri3008397>