diff options
author | 2008-05-22 19:22:25 +0300 | |
---|---|---|
committer | 2008-05-22 19:52:18 +0300 | |
commit | 76994412f8e824e79a593d6777ec327d85f942b2 (patch) | |
tree | 9acd5883a43daf1bf21ab23608915c1181fd2008 /mm/mm_init.c | |
parent | slob: Fix to return wrong pointer (diff) | |
download | wireguard-linux-76994412f8e824e79a593d6777ec327d85f942b2.tar.xz wireguard-linux-76994412f8e824e79a593d6777ec327d85f942b2.zip |
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: Christoph Lameter <clameter@sgi.com>
Cc: Matt Mackall <mpm@selenic.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions