aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorCatalin Marinas <[email protected]>2010-02-08 11:16:24 +0000
committerPekka Enberg <[email protected]>2010-02-17 21:39:08 +0200
commit81fc03909a80bead8f553287a2b749a1d29dca64 (patch)
tree6c62a780be628ea551bf1e5854260ce94608c521 /tools/perf/scripts/python/check-perf-trace.py
parent724e6d3fe8003c3f60bf404bf22e4e331327c596 (diff)
kmemcheck: Test the full object in kmemcheck_is_obj_initialized()
This is a fix for bug #14845 (bugzilla.kernel.org). The update_checksum() function in mm/kmemleak.c calls kmemcheck_is_obj_initialised() before scanning an object. When KMEMCHECK_PARTIAL_OK is enabled, this function returns true. However, the crc32_le() reads smaller intervals (32-bit) for which kmemleak_is_obj_initialised() may be false leading to a kmemcheck warning. Note that kmemcheck_is_obj_initialized() is currently only used by kmemleak before scanning a memory location. Signed-off-by: Catalin Marinas <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Christian Casteyde <[email protected]> Cc: Vegard Nossum <[email protected]> Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions