From: Ingo Molnar <mingo@elte.hu>
To: Vegard Nossum <vegard.nossum@gmail.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>,
linux-kernel@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [PATCH] kmemcheck: (finally) use 4k pages for identity mapping
Date: Mon, 20 Oct 2008 09:34:28 +0200 [thread overview]
Message-ID: <20081020073428.GB20461@elte.hu> (raw)
In-Reply-To: <20081019172041.GA3258@localhost.localdomain>
* Vegard Nossum <vegard.nossum@gmail.com> wrote:
> >From 760932c8607b736504a134ed6feec25e90e089ac Mon Sep 17 00:00:00 2001
> From: Vegard Nossum <vegard.nossum@gmail.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@gmail.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
prev parent reply other threads:[~2008-10-20 7:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-19 17:20 [PATCH] kmemcheck: (finally) use 4k pages for identity mapping Vegard Nossum
2008-10-20 7:34 ` Ingo Molnar [this message]
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=20081020073428.GB20461@elte.hu \
--to=mingo@elte.hu \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=penberg@cs.helsinki.fi \
--cc=tglx@linutronix.de \
--cc=vegard.nossum@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