Re: [PATCH 2/9] perf/core: Add PERF_SAMPLE_CGROUP feature

From: Tejun Heo
Date: Fri Sep 20 2019 - 17:04:20 EST


On Fri, Sep 20, 2019 at 05:47:45PM +0900, Namhyung Kim wrote:
> Thanks for the sharing information! For 32-bit, while the ino itself is not
> monotonic, gen << 32 + ino is monotonic right? I think we can use the

It's not. gen gets incremented on every allocation, so it has not
high but still realistic chance of collisions.

Thanks.

--
tejun