]> err.no Git - linux-2.6/commit
SLUB: use check_valid_pointer in kmem_ptr_validate
authorChristoph Lameter <clameter@sgi.com>
Wed, 9 May 2007 09:32:37 +0000 (02:32 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:44 +0000 (12:30 -0700)
commitabcd08a6f564171ffa05bc77d1c2ba4cfa949653
tree10760411326e881329851707e93aebd8c6782737
parenta87615b8f9e2349f6d3770af3d72fd6a41ab4239
SLUB: use check_valid_pointer in kmem_ptr_validate

We needlessly duplicate code. Also make check_valid_pointer inline.

Signed-off-by: Christoph LAemter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slub.c