Re: [v2.6.26] what's brewing in x86.git for v2.6.26

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vegard Nossum
Date: Thursday, April 17, 2008 - 11:47 am

On Thu, Apr 17, 2008 at 11:36 AM, Andrew Morton
<akpm@linux-foundation.org> wrote:

Actually it doesn't. I attach a patch which gets rid of the page flag,
and we rely instead on the PTE flag for page-trackedness.

The reason we didn't do this at once is that the making of kmemcheck
has been pretty much my first introduction to SLUB, x86, page flags,
etc., and the actual semantics of the various introduced flags have
varied since the first version of kmemcheck. At this point, the struct
page flags weren't actually needed anymore, but they were convenient.

My apologies for not inlining the patch -- I don't have a mail client
that won't mess up whitespace. It can also be downloaded at:
http://folk.uio.no/vegardno/linux/0001-kmemcheck-remove-use-of-tracked-page-flag.patch

The patch has received minimal amount of testing, but I've
double-checked the logic. It boots fine on my laptop, boot log at:
http://folk.uio.no/vegardno/linux/kmemcheck-20080417.txt

Ingo, will you take this for some additional testing?


Vegard

-- 
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
	-- E. W. Dijkstra, EWD1036
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[v2.6.26] what's brewing in x86.git for v2.6.26, Ingo Molnar, (Wed Apr 16, 1:23 pm)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Roland Dreier, (Wed Apr 16, 1:37 pm)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andi Kleen, (Wed Apr 16, 1:50 pm)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Suresh Siddha, (Wed Apr 16, 3:18 pm)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 12:25 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Pekka Enberg, (Thu Apr 17, 12:45 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 12:48 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 1:14 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 1:20 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Ingo Molnar, (Thu Apr 17, 1:30 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Pekka J Enberg, (Thu Apr 17, 1:32 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Pekka Enberg, (Thu Apr 17, 1:34 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Ingo Molnar, (Thu Apr 17, 1:40 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 1:40 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 1:42 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, David Miller, (Thu Apr 17, 1:45 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 1:54 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 1:56 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Avi Kivity, (Thu Apr 17, 1:57 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Ingo Molnar, (Thu Apr 17, 2:06 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 2:18 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, David Miller, (Thu Apr 17, 2:19 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Ingo Molnar, (Thu Apr 17, 2:30 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 2:33 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 2:36 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Ingo Molnar, (Thu Apr 17, 2:46 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 2:53 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 3:06 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Alexander van Heukelum, (Thu Apr 17, 3:06 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andi Kleen, (Thu Apr 17, 3:11 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 3:18 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Pekka Enberg, (Thu Apr 17, 3:19 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andi Kleen, (Thu Apr 17, 3:29 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Johannes Weiner, (Thu Apr 17, 3:32 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 3:33 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Ingo Molnar, (Thu Apr 17, 3:38 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Pekka Enberg, (Thu Apr 17, 3:41 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Pekka Enberg, (Thu Apr 17, 3:42 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 3:50 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andi Kleen, (Thu Apr 17, 3:51 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Christoph Hellwig, (Thu Apr 17, 4:49 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Christoph Hellwig, (Thu Apr 17, 4:49 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Ingo Molnar, (Thu Apr 17, 4:56 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Alexander van Heukelum, (Thu Apr 17, 6:33 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Arjan van de Ven, (Thu Apr 17, 7:01 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Ingo Molnar, (Thu Apr 17, 8:26 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 10:36 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 11:01 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Vegard Nossum, (Thu Apr 17, 11:47 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Ingo Molnar, (Thu Apr 17, 11:51 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Ingo Molnar, (Thu Apr 17, 12:27 pm)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Ingo Molnar, (Thu Apr 17, 12:35 pm)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Vegard Nossum, (Thu Apr 17, 12:39 pm)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 12:43 pm)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 12:57 pm)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Ingo Molnar, (Thu Apr 17, 1:18 pm)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Vegard Nossum, (Thu Apr 17, 1:39 pm)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 1:55 pm)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Thu Apr 17, 11:27 pm)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, David Miller, (Thu Apr 17, 11:38 pm)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Ingo Molnar, (Fri Apr 18, 12:47 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andrew Morton, (Fri Apr 18, 1:00 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Christoph Hellwig, (Fri Apr 18, 1:11 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, David Miller, (Fri Apr 18, 1:18 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Ingo Molnar, (Fri Apr 18, 1:38 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Tomasz Kłoczko, (Fri Apr 18, 2:33 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Ingo Molnar, (Fri Apr 18, 2:42 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Andi Kleen, (Fri Apr 18, 3:51 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Nick Piggin, (Fri Apr 18, 4:12 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Ingo Molnar, (Fri Apr 18, 5:41 am)
Re: [v2.6.26] what's brewing in x86.git for v2.6.26, Ingo Molnar, (Fri Apr 18, 5:48 am)