linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Xianghua Xiao <xiaoxianghua@gmail.com>
Cc: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Re: [PATCH] Fix DEBUG_PAGEALLOC on 603/e300
Date: Thu, 29 Apr 2010 08:29:50 +1000	[thread overview]
Message-ID: <1272493790.24542.109.camel@pasglop> (raw)
In-Reply-To: <y2te6bf505b1004281215n9dcc6190j9915aa27ae91f75d@mail.gmail.com>

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.

  parent reply	other threads:[~2010-04-28 22:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-28  7:22 [PATCH] Fix DEBUG_PAGEALLOC on 603/e300 Benjamin Herrenschmidt
2010-04-28 19:15 ` Xianghua Xiao
2010-04-28 19:46   ` Kim Phillips
2010-04-28 22:29   ` Benjamin Herrenschmidt [this message]
2010-05-02 10:27     ` Maindoor
2010-05-03 14:19       ` Xianghua Xiao
2010-05-04  5:13         ` Benjamin Herrenschmidt
2010-05-06  8:23         ` Maindoor
2010-05-06 13:04           ` Maindoor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1272493790.24542.109.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=xiaoxianghua@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).