From: Valdis.Kletnieks@vt.edu
To: Robert Love <rml@tech9.net>
Cc: Thomas Schlichter <schlicht@uni-mannheim.de>,
James Simmons <jsimmons@infradead.org>,
Helge Hafting <helgehaf@aitel.hist.no>,
Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: 2.6.0-test8-mm1
Date: Tue, 21 Oct 2003 22:46:50 -0400 [thread overview]
Message-ID: <200310220246.h9M2ko08007330@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Tue, 21 Oct 2003 19:27:25 EDT." <1066778844.768.348.camel@localhost>
[-- Attachment #1: Type: text/plain, Size: 1225 bytes --]
On Tue, 21 Oct 2003 19:27:25 EDT, Robert Love said:
> On Tue, 2003-10-21 at 18:53, Thomas Schlichter wrote:
>
> > For me the big question stays why enabling the DEBUG_* options results in a
> > corrupt cursor and the false dots on the top of each row... (with both
> > kernels)
>
> Almost certainly due to CONFIG_DEBUG_SLAB or CONFIG_DEBUG_PAGEALLOC,
> which debug memory allocations and frees.
>
> Code that commits the usual memory bugs (use-after-free, etc.) will
> quickly die with these set, whereas without them the bug might never
> manifest.
Right. DEBUG_SLAB and DEBUG_PAGEALLOC will change where things end up in
memory. The part that *I* was surprised at was that turning them on did *NOT*
make the code quickly die as expected - but it *did* corrupt the on-screen
image. That's telling me that the DEBUG stuff is setting canaries that end up
in memory locations that the fbdev code thinks are destined for the display
pixels. (And conversely, that when you build without those two debug options,
that the fbdev code is parking those now not visibly corrupted pixels on top of
somebody's pointer chains and that's where the memory corruption is coming
from.
Or I could just be full of it as usual.. :)
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
next prev parent reply other threads:[~2003-10-22 2:47 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-20 9:05 2.6.0-test8-mm1 Andrew Morton
2003-10-20 9:40 ` 2.6.0-test8-mm1 Kirill Korotaev
2003-10-20 9:49 ` 2.6.0-test8-mm1 Andrew Morton
2003-10-20 11:05 ` 2.6.0-test8-mm1 Peter Lieverdink
2003-10-20 18:49 ` 2.6.0-test8-mm1 Helge Hafting
2003-10-21 11:06 ` 2.6.0-test8-mm1 [matroxfb not working] Jurriaan
2003-10-20 11:18 ` 2.6.0-test8-mm1 Thomas Schlichter
2003-10-20 13:22 ` 2.6.0-test8-mm1 Jonathan Brown
2003-10-20 15:00 ` 2.6.0-test8-mm1 Antonio Dolcetta
2003-10-20 16:32 ` 2.6.0-test8-mm1 Jonathan Brown
2003-10-21 7:28 ` 2.6.0-test8-mm1 Antonio Dolcetta
2003-10-20 15:32 ` 2.6.0-test8-mm1 John Cherry
2003-10-20 16:11 ` 2.6.0-test8-mm1 Thomas Schlichter
2003-10-20 21:48 ` 2.6.0-test8-mm1 Andrew Morton
2003-10-20 22:01 ` 2.6.0-test8-mm1 Thomas Schlichter
2003-10-20 22:17 ` 2.6.0-test8-mm1 Andrew Morton
2003-10-20 22:30 ` 2.6.0-test8-mm1 Thomas Schlichter
2003-10-21 0:43 ` 2.6.0-test8-mm1 Thomas Schlichter
2003-10-21 0:14 ` 2.6.0-test8-mm1 Valdis.Kletnieks
2003-10-21 0:27 ` 2.6.0-test8-mm1 Andrew Morton
2003-10-21 0:46 ` 2.6.0-test8-mm1 Valdis.Kletnieks
2003-10-21 1:56 ` 2.6.0-test8-mm1 Andrew Morton
2003-10-21 2:54 ` 2.6.0-test8-mm1 Valdis.Kletnieks
2003-10-21 3:49 ` 2.6.0-test8-mm1 Jeremy Fitzhardinge
2003-10-21 8:39 ` 2.6.0-test8-mm1 Thomas Schlichter
2003-10-21 17:47 ` 2.6.0-test8-mm1 James Simmons
2003-10-21 18:53 ` 2.6.0-test8-mm1 Jurriaan
2003-10-22 17:02 ` 2.6.0-test8-mm1 James Simmons
2003-10-21 20:23 ` 2.6.0-test8-mm1 Helge Hafting
2003-10-21 20:36 ` 2.6.0-test8-mm1 Thomas Schlichter
2003-10-21 20:42 ` 2.6.0-test8-mm1 James Simmons
2003-10-21 21:05 ` 2.6.0-test8-mm1 Thomas Giese
2003-10-22 17:08 ` 2.6.0-test8-mm1 James Simmons
2003-10-21 22:53 ` 2.6.0-test8-mm1 Thomas Schlichter
2003-10-21 23:27 ` 2.6.0-test8-mm1 Robert Love
2003-10-22 2:46 ` Valdis.Kletnieks [this message]
2003-10-21 20:55 ` 2.6.0-test8-mm1 Panagiotis Papadakos
2003-10-22 17:12 ` 2.6.0-test8-mm1 James Simmons
2003-10-20 19:21 ` [BUG] 2.6.0-test8-mm1 Ramón Rey Vicente
2003-10-20 20:10 ` Andrew Morton
2003-10-20 21:53 ` Ramón Rey Vicente
2003-10-21 8:03 ` 2.6.0-test8-mm1 Stephane Jourdois
2003-10-21 15:43 ` 2.6.0-test8-mm1 bill davidsen
2003-10-21 17:42 ` 2.6.0-test8-mm1 Valdis.Kletnieks
2003-10-20 11:35 2.6.0-test8-mm1 Jan Ischebeck
2003-10-24 0:14 2.6.0-test8-mm1 James Vega
2003-10-24 9:35 2.6.0-test8-mm1 Catani, Antonio
2003-10-24 17:52 ` 2.6.0-test8-mm1 James Simmons
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=200310220246.h9M2ko08007330@turing-police.cc.vt.edu \
--to=valdis.kletnieks@vt.edu \
--cc=akpm@osdl.org \
--cc=helgehaf@aitel.hist.no \
--cc=jsimmons@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=rml@tech9.net \
--cc=schlicht@uni-mannheim.de \
/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®