Skip to content
Commit 76994412 authored by Pekka Enberg's avatar Pekka Enberg
Browse files

slub: ksize() abuse checks



Add a WARN_ON for pages that don't have PageSlab nor PageCompound set to catch
the worst abusers of ksize() in the kernel.

Acked-by: default avatarChristoph Lameter <clameter@sgi.com>
Cc: Matt Mackall <mpm@selenic.com>
Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
parent 239f49c0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment