lkml.org 
[lkml]   [2008]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [v2.6.26] what's brewing in x86.git for v2.6.26

* Ingo Molnar <mingo@elte.hu> 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.
> [...]
> > Ingo, will you take this for some additional testing?
>
> thanks Vegard, i've applied it - looks good to me too.

x86.git randconfig testing found a build bug - fix below.

Ingo

------------>
Subject: kmemcheck: fix build
From: Ingo Molnar <mingo@elte.hu>
Date: Thu Apr 17 21:20:43 CEST 2008
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
include/linux/kmemcheck.h | 3 +++
1 file changed, 3 insertions(+)
Index: linux/include/linux/kmemcheck.h
===================================================================
--- linux.orig/include/linux/kmemcheck.h
+++ linux/include/linux/kmemcheck.h
@@ -1,6 +1,8 @@
#ifndef LINUX_KMEMCHECK_H
#define LINUX_KMEMCHECK_H

+#include <linux/types.h>
+
#ifdef CONFIG_KMEMCHECK
extern int kmemcheck_enabled;

@@ -24,6 +26,7 @@ void kmemcheck_mark_uninitialized_pages(
#ifndef CONFIG_KMEMCHECK
#define kmemcheck_enabled 0
static inline void kmemcheck_init(void) { }
+static inline bool kmemcheck_page_is_tracked(struct page *p) { return false; }
#endif /* CONFIG_KMEMCHECK */

#endif /* LINUX_KMEMCHECK_H */

\
 
 \ /
  Last update: 2008-04-17 21:39    [from the cache]
©2003-2011 Jasper Spaans