From: Pekka Enberg Date: Wed, 25 Mar 2009 09:05:57 +0000 (+0200) Subject: kmemtrace: trace kfree() calls with NULL or zero-length objects X-Git-Tag: v2.6.30-rc1~182^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2121db74ba0fd2259f0e2265511684fadda9ac49;p=pandora-kernel.git kmemtrace: trace kfree() calls with NULL or zero-length objects Impact: also output kfree(NULL) entries This patch moves the trace_kfree() calls before the ZERO_OR_NULL_PTR check so that we can trace call-sites that call kfree() with NULL many times which might be an indication of a bug. Signed-off-by: Pekka Enberg Cc: Eduard - Gabriel Munteanu LKML-Reference: <1237971957.30175.18.camel@penberg-laptop> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed