[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090303160503.GA6538@elte.hu>
Date: Tue, 3 Mar 2009 17:05:03 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Akinobu Mita <akinobu.mita@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
linux-mm@...ck.org, akpm@...ux-foundation.org
Subject: Re: [PATCH] generic debug pagealloc
* Akinobu Mita <akinobu.mita@...il.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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists