From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755472AbbIAIby (ORCPT ); Tue, 1 Sep 2015 04:31:54 -0400 Received: from fw-tnat.cambridge.arm.com ([217.140.96.140]:57429 "EHLO cam-smtp0.cambridge.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752741AbbIAIbv (ORCPT ); Tue, 1 Sep 2015 04:31:51 -0400 Date: Tue, 1 Sep 2015 09:31:48 +0100 From: Javi Merino To: Eduardo Valentin Cc: "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 0/2] Fixes for cpu cooling Message-ID: <20150901083148.GA2730@e104805> References: <1439835703-16470-1-git-send-email-javi.merino@arm.com> <20150825185347.GB2708@e104805> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20150825185347.GB2708@e104805> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 25, 2015 at 07:53:48PM +0100, Javi Merino wrote: > On Mon, Aug 17, 2015 at 07:21:41PM +0100, Javi Merino wrote: > > Commit c36cf0717631 ("thermal: cpu_cooling: implement the power > > cooling device API") introduced two bugs: a call to kcalloc() (that > > might sleep) under RCU and not freeing the allocation when it's no > > longer needed. This series fixes both issues. > > > > Javi Merino (2): > > thermal: cpu_cooling: don't call kcalloc() under rcu_read_lock > > thermal: cpu_cooling: free power table on error or when unregistering > > Gentle ping Another ping