cvs commit: src/sys/sys queue.h
Ed Maste
emaste at FreeBSD.org
Fri May 26 11:18:56 PDT 2006
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
More information about the cvs-src
mailing list