From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932800AbbENKlI (ORCPT ); Thu, 14 May 2015 06:41:08 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:36753 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932427AbbENKlF (ORCPT ); Thu, 14 May 2015 06:41:05 -0400 Date: Thu, 14 May 2015 12:40:59 +0200 From: Ingo Molnar To: Milos Vyletel Cc: Peter Zijlstra , Paul Mackerras , Ingo Molnar , Arnaldo Carvalho de Melo , Masami Hiramatsu , Namhyung Kim , Jiri Olsa , He Kuang , Adrian Hunter , "open list:PERFORMANCE EVENT..." Subject: Re: [PATCH 2/2] perf/tools: put new buildid locks to use Message-ID: <20150514104059.GA27771@gmail.com> References: <1431588493-1474-1-git-send-email-milos@redhat.com> <1431588493-1474-3-git-send-email-milos@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1431588493-1474-3-git-send-email-milos@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Milos Vyletel 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