summaryrefslogtreecommitdiff
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@zip.com.au>2002-07-04 08:32:00 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-07-04 08:32:00 -0700
commit63a071539a3d8842eff1145503adfbfe7f1098d3 (patch)
treed6b24a33f7816bd1bf6f7337b819451d2262e851 /fs/proc/array.c
parentea66b69c3ec03a6762c0949af67123d8a278f49d (diff)
[PATCH] debug: check page refcount in __free_pages_ok()
Add a BUG() check to __free_pages_ok() - to catch someone freeing a page which has a non-zero refcount. Actually, this check is mainly to catch someone (ie: shrink_cache()) incrementing a page's refcount shortly after it has been freed Also clean up __free_pages_ok() a bit and convert lots of BUGs to BUG_ON.
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions