From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: [PATCH 16/26] cpu_cooling: Drop useless locking around idr_alloc/idr_remove Date: Wed, 3 Dec 2014 15:02:51 +0530 Message-ID: References: <20141202230533.GB3432@developer> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-ob0-f171.google.com ([209.85.214.171]:55885 "EHLO mail-ob0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752366AbaLCJcw (ORCPT ); Wed, 3 Dec 2014 04:32:52 -0500 Received: by mail-ob0-f171.google.com with SMTP id uz6so11163983obc.2 for ; Wed, 03 Dec 2014 01:32:51 -0800 (PST) In-Reply-To: <20141202230533.GB3432@developer> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Eduardo Valentin , Javi Merino Cc: "linux-pm@vger.kernel.org" , Lists linaro-kernel , Zhang Rui On 3 December 2014 at 04:35, Eduardo Valentin wrote: > On Fri, Nov 28, 2014 at 03:14:10PM +0530, Viresh Kumar wrote: >> Locking around idr_alloc/idr_remove looks rather pointless as there is no race >> it is trying to fix. Remove it. >> > > Can you please elaborate on how the idr's are going to be serialize > without the lock? Dropped this patch, I was wrong ..