Messages in this thread | | | Subject | Re: [PATCH] kmemcheck: Disable SLUB and SLAB debugging when kmemcheck is enabled | From | Pekka Enberg <> | Date | Mon, 23 Feb 2009 19:33:26 +0200 |
| |
On Mon, 2009-02-23 at 10:41 -0500, Christoph Lameter wrote: > On Mon, 23 Feb 2009, Pekka Enberg wrote: > > > Enabling kmemcheck in Kconfig is a painful experience. Lets make it a > > tad bit easier by inverting the dependencies to SLUB and SLAB debugging. > > As kmemcheck is more powerful than slab debugging, disable the latter > > functionality if an user enables kmemcheck. > > SLUB_DEBUG is fundamentally different from SLAB_DEBUG. It only includes > the code to be able to enable debugging at runtime. It does not enable > debugging.
Yes, I know that but we can't really let the user enable both, slub debugging and kmemcheck debugging, at run-time. That's why I used SLUB_DEBUG here.
| |