From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Hocko Date: Thu, 20 Oct 2011 00:20:28 +0000 Subject: Re: [patch] memory hotplug: release lock on an error path Message-Id: <20111020002027.GB21703@tiehlicka.suse.cz> List-Id: References: <20111005055326.GA32187@elgon.mountain> <20111018212931.GB10656@tiehlicka.suse.cz> <20111018222805.GB24215@longonot.mountain> In-Reply-To: <20111018222805.GB24215@longonot.mountain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Nathan Fontenot , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , kernel-janitors@vger.kernel.org On Wed 19-10-11 01:28:05, Dan Carpenter wrote: > On Tue, Oct 18, 2011 at 02:29:32PM -0700, Michal Hocko wrote: > > On Wed 05-10-11 08:53:26, Dan Carpenter wrote: > > > We need to release the mutex here before returning. > > > > Which kernel have you used as a base? I do not see any code like that in > > the vanilla kernel. And git log doesn't know anything about > > check_page_reservations in the file as well... > > > > Sorry this was against linux-next. Would be good to mention which patch introduces this in the patch description. > > regards, > dan carpenter > Thanks -- Michal Hocko SUSE Labs SUSE LINUX s.r.o. Lihovarska 1060/12 190 00 Praha 9 Czech Republic