summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMika Kuoppala <mika.kuoppala@linux.intel.com>2019-07-01 13:44:42 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2019-07-02 16:00:20 +0100
commitc5f846eed2a1856b78e988eeef08215c70598ecd (patch)
tree55379322d258f055eea40b4670de8af32bdabc72 /tools/perf/scripts/python/net_dropmonitor.py
parent3fe0107e45ab396342497e06b8924cdd485cde3b (diff)
downloadlinux-c5f846eed2a1856b78e988eeef08215c70598ecd.tar.gz
linux-c5f846eed2a1856b78e988eeef08215c70598ecd.zip
drm/i915: Fix memleak in runtime wakeref tracking
If we untrack wakerefs, the actual count may reach zero. However the krealloced owners array is still there and needs to be taken care of. Free the owners unconditionally to fix the leak. Fixes: bd780f37a361 ("drm/i915: Track all held rpm wakerefs") Reported-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20190701104442.9319-1-mika.kuoppala@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions