From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id E5313B7117 for ; Mon, 22 Jun 2009 08:25:30 +1000 (EST) Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 418E7DDD04 for ; Mon, 22 Jun 2009 08:25:29 +1000 (EST) Subject: Re: Badness on the Warp From: Benjamin Herrenschmidt To: Pekka Enberg In-Reply-To: <84144f020906210320n2984807dw2d4b4fb38afd22cf@mail.gmail.com> References: <20090620154824.72b5cd50@lappy.seanm.ca> <200906202256.46073.elendil@planet.nl> <20090620194250.5a3e826f@lappy.seanm.ca> <200906210628.35553.elendil@planet.nl> <84144f020906210320n2984807dw2d4b4fb38afd22cf@mail.gmail.com> Content-Type: text/plain Date: Mon, 22 Jun 2009 08:25:04 +1000 Message-Id: <1245623104.16880.26.camel@pasglop> Mime-Version: 1.0 Cc: Frans Pop , linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Paul Mackerras , Sean MacLennan , David Gibson List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, 2009-06-21 at 13:20 +0300, Pekka Enberg wrote: > The WARN_ON() is there to let us know that someone is doing a bootmem > allocation but the slab allocator is already up. So the proper fix > here is to use kmalloc() directly in the call-site that triggers this > WARN_ON. I'm cc'ing Ben as he has been taking care of the fall-out > from my patches on ppc. > Right, our interrupt controllers need those fixes, they are low on my priority list since it's a reasonably harmless warning and I'm still chasing some actual breakage (though maybe not directly related to your patches). Kumar already submitted a couple, Frans, feel free to beat me at converting UIC (just use kmalloc directly in there instead of alloc_bootmem). Cheers, Ben.