mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
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>
This commit is contained in:
parent
239f49c080
commit
76994412f8
Loading…
Reference in New Issue
Block a user