summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-04-25 10:19:52 +0100
committerJani Nikula <jani.nikula@intel.com>2022-05-02 14:27:21 +0300
commitd143c0054a021a5b9ee2b91f739a09a6944283b6 (patch)
tree9244bb65be63b8b4c249ab90646e784efbf67ee8 /tools/perf/scripts/python/stackcollapse.py
parentc140915c00c92e3ca2a4f8e5748f0b9ef3e5a418 (diff)
lockdep: Swap storage for pin_count and references
As a lockmap takes a reference for every ww_mutex used together, this can be an arbitrarily large number and under control of userspace -- easily overflowing the arbitrary limit of 4096. However, the pin_count (used for detecting unexpected lock dropping) is a full 32b despite nesting being extremely rare (see lockdep_pin_lock). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20190425092004.9995-33-chris@chris-wilson.co.uk Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions