From: "Joseph D. Wagner" <wagnerjd@prodigy.net>
To: "'Linux Kernel Development List'" <linux-kernel@vger.kernel.org>
Subject: POSSIBLE BUG: Debugging Not Automatically Activated in Slab.c
Date: Fri, 6 Dec 2002 21:55:38 -0600 [thread overview]
Message-ID: <000a01c29da4$8235b370$8c43d03f@joe> (raw)
Before I submit this as an actually bug, I'd like the input of some people
who know a little more about the Slab Allocator and Kernel Debugging.
The Slab Allocator includes this line:
#ifdef CONFIG_DEBUG_SLAB
in slab.c (line 89) to activate debugging.
However, I couldn't find anywhere in the code where CONFIG_DEBUG_SLAB is
linked to CONFIG_DEBUG_KERNEL. In other words, setting the kernel as a
debug kernel doesn't automatically set the Slab Allocator to debug too.
1) Am I missing something?
2) Is this intentional or by design?
If this is an actually bug, it can be fixed by inserting the following code
in slab.h immediately following the #include statements:
#ifdef CONFIG_DEBUG_KERNEL
#define CONFIG_DEBUG_SLAB
#endif
Joseph Wagner
next reply other threads:[~2002-12-07 3:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-07 3:55 Joseph D. Wagner [this message]
2002-12-07 5:07 ` Randy.Dunlap
2002-12-07 6:17 ` POSSIBLE BUG: Debugging Not Automatically Activated in Slab.c -- RESOLVED Joseph D. Wagner
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='000a01c29da4$8235b370$8c43d03f@joe' \
--to=wagnerjd@prodigy.net \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®