diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2010-04-07 16:23:40 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-04-09 17:09:50 (GMT) |
commit | fc1c183353a113c71675fecd0485e5aa0fe68d72 (patch) | |
tree | 25fc50112c80402ab43bd86a3d6b6a99a0c3c128 /mm/slub.c | |
parent | 4dc86ae1f925b2121d4e75058675895f83e54c71 (diff) | |
download | linux-fsl-qoriq-fc1c183353a113c71675fecd0485e5aa0fe68d72.tar.xz |
slab: Generify kernel pointer validation
As suggested by Linus, introduce a kern_ptr_validate() helper that does some
sanity checks to make sure a pointer is a valid kernel pointer. This is a
preparational step for fixing SLUB kmem_ptr_validate().
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Matt Mackall <mpm@selenic.com>
Cc: Nick Piggin <npiggin@suse.de>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions