[PATCH 19/35] perf evlist: Clarify a bit the use of perf_mmap->refcnt

2017-03-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo This is an odd refcount use case, so add some more comments to help understand that when it hits zero it really means that the mmap()ed area (on a perf_event_open() returned fd) has been munmap()ed. Cc: Adrian Hunter Cc:

[PATCH 19/35] perf evlist: Clarify a bit the use of perf_mmap->refcnt

2017-03-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo This is an odd refcount use case, so add some more comments to help understand that when it hits zero it really means that the mmap()ed area (on a perf_event_open() returned fd) has been munmap()ed. Cc: Adrian Hunter Cc: David Ahern Cc: Elena Reshetova Cc: Jiri