Re: 2.6.24-rc5-mm1: problems with cat /proc/kpageflags

Matt Mackall
2007-12-17T14:56:24Z

On Sun, Dec 16, 2007 at 10:39:17PM -0800, Andrew Morton wrote:
> On Sun, 16 Dec 2007 20:26:11 -0800 (PST) David Miller <davem@davemloft.net> wrote:
>
> > From: Matt Mackall <mpm@selenic.com>
> > Date: Sun, 16 Dec 2007 20:11:49 -0600
> >
> > > But as the function doesn't actually show up in your stack trace,
> > > something else is probably wrong. So I'd also try commenting out
> > > pieces of that function until it started working.
> >
> > Some piece of state is being indirectly corrupted and this
> > is showing up later in some unrelated operation.
> >
> > Can someone send me this kpageflags patch under seperate
> > cover? I'll try figure out why it farts on sparc64.
>
> hm, non trivial. It's the third-from-last patch in:
>
> maps4-add-proportional-set-size-accounting-in-smaps.patch
> maps4-rework-task_size-macros.patch
> maps4-rework-task_size-macros-mips-fix.patch
> maps4-move-is_swap_pte.patch
> maps4-introduce-a-generic-page-walker.patch
> maps4-use-pagewalker-in-clear_refs-and-smaps.patch
> maps4-simplify-interdependence-of-maps-and-smaps.patch
> maps4-move-clear_refs-code-to-task_mmuc.patch
> maps4-regroup-task_mmu-by-interface.patch
> maps4-add-proc-pid-pagemap-interface.patch

Actually, you may only need these two:

> maps4-add-proc-kpagecount-interface.patch
> maps4-add-proc-kpageflags-interface.patch

--
Mathematics is the supreme nostalgia of our time.