[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081020073428.GB20461@elte.hu>
Date: Mon, 20 Oct 2008 09:34:28 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Vegard Nossum <vegard.nossum@...il.com>
Cc: Pekka Enberg <penberg@...helsinki.fi>,
linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>
Subject: Re: [PATCH] kmemcheck: (finally) use 4k pages for identity mapping
* Vegard Nossum <vegard.nossum@...il.com> wrote:
> >From 760932c8607b736504a134ed6feec25e90e089ac Mon Sep 17 00:00:00 2001
> From: Vegard Nossum <vegard.nossum@...il.com>
> Date: Sun, 19 Oct 2008 15:28:04 +0200
> Subject: [PATCH] kmemcheck: (finally) use 4k pages for identity mapping
>
> At last I found the right hooks for doing this properly. DEBUG_PAGEALLOC
> has the exact same requirement: Kernel pages must be mapped with 4k
> physical pages (since that's the size of pages returned by the page
> allocator).
>
> Now we finally get rid of the need to do set_memory_4k() or try to work
> around TLB flushing from interrupt context. Yay!
>
> Has been tested on both 32- and 64-bit on a P4 and a Dual Core.
>
> Signed-off-by: Vegard Nossum <vegard.nossum@...il.com>
> ---
> arch/x86/kernel/cpu/common.c | 7 -------
> arch/x86/mm/init_32.c | 2 +-
> arch/x86/mm/init_64.c | 2 +-
> arch/x86/mm/kmemcheck/kmemcheck.c | 4 ----
> mm/kmemcheck.c | 8 --------
> 5 files changed, 2 insertions(+), 21 deletions(-)
nice! Pulled into tip/kmemcheck-v2, thanks Vegard.
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