From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 15B20B7D30 for ; Thu, 29 Apr 2010 08:29:57 +1000 (EST) Subject: Re: [PATCH] Fix DEBUG_PAGEALLOC on 603/e300 From: Benjamin Herrenschmidt To: Xianghua Xiao In-Reply-To: References: <1272439375.24542.94.camel@pasglop> Content-Type: text/plain; charset="UTF-8" Date: Thu, 29 Apr 2010 08:29:50 +1000 Message-ID: <1272493790.24542.109.camel@pasglop> Mime-Version: 1.0 Cc: linuxppc-dev List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2010-04-28 at 14:15 -0500, Xianghua Xiao wrote: > This change works me on a 834x(e300) platform, tested with lmbench and > a production-ready application with 2.6.33.3. But have you tested that DEBUG_PAGEALLOC actually works ? :-) A way to do that is to - get_free_pages a page - read from it - free it - write to it It should oops on the write, and I suspect that without my patch it doesn't. Cheers, Ben.