lkml.org 
[lkml]   [2008]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.26-rc5-mm2 compile error in vmscan.c
On Tue, 10 Jun 2008 13:50:00 +0200 Helge Hafting <helge.hafting@aitel.hist.no> wrote:

> Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc5/2.6.26-rc5-mm2/
> >
> > - This is a bugfixed version of 2.6.26-rc5-mm1 - mainly to repair a
> > vmscan.c bug which would have prevented testing of the other vmscan.c
> > bugs^Wchanges.
> >
>
> Interesting to try out, but I got this:
>
> $ make
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> CALL scripts/checksyscalls.sh
> CHK include/linux/compile.h
> CC mm/vmscan.o
> mm/vmscan.c: In function 'show_page_path':
> mm/vmscan.c:2419: error: 'struct mm_struct' has no member named 'owner'
> make[1]: *** [mm/vmscan.o] Error 1
> make: *** [mm] Error 2
>
>
> I then tried to configure with "Track page owner", but that did not
> change anything.
>

Thanks. I guess this will get you going.

--- a/mm/vmscan.c~mm-only-vmscan-noreclaim-lru-scan-sysctl-fix
+++ a/mm/vmscan.c
@@ -2400,6 +2400,7 @@ static void show_page_path(struct page *
dentry_path(dentry, buf, 256), pgoff);
spin_unlock(&mapping->i_mmap_lock);
} else {
+#ifdef CONFG_MM_OWNER
struct anon_vma *anon_vma;
struct vm_area_struct *vma;

@@ -2413,6 +2414,7 @@ static void show_page_path(struct page *
break;
}
page_unlock_anon_vma(anon_vma);
+#endif
}
}

_



\
 
 \ /
  Last update: 2008-06-10 20:41    [W:0.186 / U:15.680 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site