[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <484AE5C9.9070306@firstfloor.org>
Date: Sat, 07 Jun 2008 21:47:21 +0200
From: Andi Kleen <andi@...stfloor.org>
To: Vegard Nossum <vegard.nossum@...il.com>
CC: Pekka Enberg <penberg@...helsinki.fi>, Ingo Molnar <mingo@...e.hu>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kmemcheck: don't track pages allocated with interrupts
disabled
> Maybe we can do the splitting when kmemcheck is enabled for the first
> time, either with the proc handler or at boot if kmemcheck=1 is passed
> on the command line. Both of these contexts should/can be
> !irqs_disabled(), I think.
You could always split at boot when the CONFIG is enabled. I assume the
CONFIG alone has already quite a lot of overhead and it will be only
on in debug kernels and adding some more TLB misses shouldn't be really
a problem. Using 2MB pages in kernel is merely an optimization.
-Andi
--
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