From mboxrd@z Thu Jan 1 00:00:00 1970 From: Javi Merino Subject: Re: [PATCH 0/2] Fixes for cpu cooling Date: Tue, 25 Aug 2015 19:53:48 +0100 Message-ID: <20150825185347.GB2708@e104805> References: <1439835703-16470-1-git-send-email-javi.merino@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from fw-tnat.cambridge.arm.com ([217.140.96.140]:51904 "EHLO cam-smtp0.cambridge.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751816AbbHYSxv (ORCPT ); Tue, 25 Aug 2015 14:53:51 -0400 Content-Disposition: inline In-Reply-To: <1439835703-16470-1-git-send-email-javi.merino@arm.com> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Eduardo Valentin Cc: "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" 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