From: Ingo Molnar <mingo@elte.hu>
To: Akinobu Mita <akinobu.mita@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org,
linux-mm@kvack.org, akpm@linux-foundation.org
Subject: Re: [PATCH] generic debug pagealloc
Date: Tue, 3 Mar 2009 17:05:03 +0100 [thread overview]
Message-ID: <20090303160503.GA6538@elte.hu> (raw)
In-Reply-To: <20090303160103.GB5812@localhost.localdomain>
* Akinobu Mita <akinobu.mita@gmail.com> wrote:
> CONFIG_DEBUG_PAGEALLOC is now supported by x86, powerpc, sparc
> (64bit), and s390. This patch implements it for the rest of
> the architectures by filling the pages with poison byte
> patterns after free_pages() and verifying the poison patterns
> before alloc_pages().
>
> This generic one cannot detect invalid read accesses and it
> can only detect invalid write accesses after a long delay. But
> it is an feasible way for nommu architectures.
if every architecture supports it now then i guess this config
switch can go away:
> +config ARCH_SUPPORTS_DEBUG_PAGEALLOC
> + def_bool y
Ingo
WARNING: multiple messages have this Message-ID (diff)
From: Ingo Molnar <mingo@elte.hu>
To: Akinobu Mita <akinobu.mita@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org,
linux-mm@kvack.org, akpm@linux-foundation.org
Subject: Re: [PATCH] generic debug pagealloc
Date: Tue, 3 Mar 2009 17:05:03 +0100 [thread overview]
Message-ID: <20090303160503.GA6538@elte.hu> (raw)
In-Reply-To: <20090303160103.GB5812@localhost.localdomain>
* Akinobu Mita <akinobu.mita@gmail.com> wrote:
> CONFIG_DEBUG_PAGEALLOC is now supported by x86, powerpc, sparc
> (64bit), and s390. This patch implements it for the rest of
> the architectures by filling the pages with poison byte
> patterns after free_pages() and verifying the poison patterns
> before alloc_pages().
>
> This generic one cannot detect invalid read accesses and it
> can only detect invalid write accesses after a long delay. But
> it is an feasible way for nommu architectures.
if every architecture supports it now then i guess this config
switch can go away:
> +config ARCH_SUPPORTS_DEBUG_PAGEALLOC
> + def_bool y
Ingo
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2009-03-03 16:05 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-03 16:01 [PATCH] generic debug pagealloc Akinobu Mita
2009-03-03 16:01 ` Akinobu Mita
2009-03-03 16:05 ` Ingo Molnar [this message]
2009-03-03 16:05 ` Ingo Molnar
2009-03-04 14:12 ` Akinobu Mita
2009-03-04 14:12 ` Akinobu Mita
2009-03-03 16:12 ` Jiri Slaby
2009-03-03 16:12 ` Jiri Slaby
2009-03-04 14:13 ` Akinobu Mita
2009-03-04 14:13 ` Akinobu Mita
2009-03-03 21:36 ` Andrew Morton
2009-03-03 21:36 ` Andrew Morton
2009-03-03 22:07 ` Russell King
2009-03-03 22:07 ` Russell King
2009-03-04 14:17 ` Akinobu Mita
2009-03-04 14:17 ` Akinobu Mita
2009-03-06 9:14 ` Benjamin Herrenschmidt
2009-03-06 9:14 ` Benjamin Herrenschmidt
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=20090303160503.GA6538@elte.hu \
--to=mingo@elte.hu \
--cc=akinobu.mita@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.