Messages in this thread |  | | Date | Fri, 1 Nov 2013 15:16:00 +0000 | From | Rodrigo Campos <> | Subject | Re: [PATCH 08/14] perf report: Cache cumulative callchains |
| |
On Fri, Nov 01, 2013 at 04:07:22PM +0900, Namhyung Kim wrote: > Hi Rodrigo, > > On Thu, 31 Oct 2013 11:13:34 +0000, Rodrigo Campos wrote: > > On Thu, Oct 31, 2013 at 03:56:10PM +0900, Namhyung Kim wrote: > > I think the right fix is assigning "iter->priv = NULL" as you said. But > I changed this patch a bit for v3 so need to check it again.
Btw, that would have a race condition if this is run on multiple threads (I mean, if different threads can free the same "iter->prev" pointer), at least if we do it just assigning NULL after the free(). But maybe that's not an issue ?
Thanks a lot, Rodrigo
|  |