summaryrefslogtreecommitdiffstats
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2008-05-28 10:32:22 -0700
committerPekka Enberg <penberg@cs.helsinki.fi>2008-07-15 20:36:01 +0300
commit0937502af7c9b648ed4e884ccb7f504b01a005a1 (patch)
tree25ed40b554b3c5e5e8a34351b38ccffe336a1b40 /mm/truncate.c
parent4d3702b62e004172f44870763cf56793d8de0cbf (diff)
downloadop-kernel-dev-0937502af7c9b648ed4e884ccb7f504b01a005a1.zip
op-kernel-dev-0937502af7c9b648ed4e884ccb7f504b01a005a1.tar.gz
slub: Add check for kfree() of non slab objects.
We can detect kfree()s on non slab objects by checking for PageCompound(). Works in the same way as for ksize. This helped me catch an invalid kfree(). Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud