]> git.baikalelectronics.ru Git - kernel.git/commit
Fix "check_slabp" printout size calculation
authorLinus Torvalds <torvalds@g5.osdl.org>
Mon, 6 Mar 2006 20:10:07 +0000 (12:10 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 6 Mar 2006 20:10:07 +0000 (12:10 -0800)
commit958279d5b74954e8a573e0819a88b1a369c6dec7
tree8b293d7c7465f28b4fe2788df70e25dfda2be088
parent6370903ae6863412009ec78238c8995aaa0c9058
Fix "check_slabp" printout size calculation

We want to use the "struct slab" size, not the size of the pointer to
same.  As it is, we'd not print out the last <n> entry pointers in the
slab (where <n> is ~10, depending on whether it's a 32-bit or 64-bit
kernel).

Gaah, that slab code was written by somebody who likes unreadable crud.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/slab.c