slub: make ->inuse unsigned int
authorAlexey Dobriyan <[email protected]>
Thu, 5 Apr 2018 23:21:06 +0000 (16:21 -0700)
committerLinus Torvalds <[email protected]>
Fri, 6 Apr 2018 04:36:23 +0000 (21:36 -0700)
commit52ee6d74aa23a3c5d4472edf167f2bb47776a733
tree979d631dd4629776f0786eff9f2566d7a5210b26
parent3a3791ec2ecd5db8d903b66faa340b0dfa72e64b
slub: make ->inuse unsigned int

->inuse is "the number of bytes in actual use by the object",
can't be negative.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Alexey Dobriyan <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/slub_def.h
mm/slub.c