Re: [PATCH 2/2] perf/tools: put new buildid locks to use

From: Ingo Molnar
Date: Thu May 14 2015 - 06:41:11 EST



* Milos Vyletel <milos@xxxxxxxxxx> wrote:

> Use new read/write locks when accesing buildid directory on places where
> we may race if multiple instances are run simultaneously.

Dunno, this will create locking interaction between multiple instances
of perf - hanging each other, etc.

And it seems unnecessary: the buildid hierarchy is already spread out.
What kind of races might there be?

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/