Poison deleted ptr-list entries.
commite54f26d605b88efdda9b232b1d9480158a2cb536
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 6 Sep 2004 18:35:45 +0000 (6 11:35 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 8 Apr 2005 04:03:08 +0000 (7 21:03 -0700)
tree64ac98b9da541583512aa63c3595c009f2bea9aa
parentb8763ba0cdd3a6751c3026d8a953d6f1f56ab29e
Poison deleted ptr-list entries.

Our current PREPARE_PTR_LIST/RESET_PTR_LIST implementation
has a bug: if we ever hit a block of pointers where every
single pointer has been deleted, it doesn't understand to
skip over it, and instead uses the first (deleted) entry.

This at least causes a nice SIGSEGV rather than random
behaviour. I'll have to think about how to do the PTR list
traversal fix nicely.
lib.h