summaryrefslogtreecommitdiff
path: root/mm/percpu-internal.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2018-10-20 09:18:50 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-10-22 12:37:51 -0300
commit4291bf5cb93918232f88a3a70d8f70a72fbb6ab0 (patch)
tree15d5da4be4871ed70f102ceb61af184a1df29450 /mm/percpu-internal.h
parentb7e8452b860c299f342a012922bdd9ab8f2bb722 (diff)
perf trace: Drop addr_location refcounts
When we use machine__resolve() we grab a reference to addr_location.thread (and in the future to other elements there) via machine__findnew_thread(), so we must pair that with addr_location__put(), else we'll never drop that thread when it exits and no other remaining data structures have pointers to it. Fix it. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: https://lkml.kernel.org/n/tip-ivg9hifzeuokb1f5jxc2wob4@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'mm/percpu-internal.h')
0 files changed, 0 insertions, 0 deletions