Skip to content
Commit ae20bfda authored by Christoph Lameter's avatar Christoph Lameter
Browse files

slub: Remove BUG_ON() from ksize and omit checks for !SLUB_DEBUG



The BUG_ONs are useless since the pointer derefs will lead to
NULL deref errors anyways. Some of the checks are not necessary
if no debugging is possible.

Signed-off-by: default avatarChristoph Lameter <clameter@sgi.com>
parent 27d9e4e9
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