Re: [lkp] [mm] 7d2eba0557: BUG: unable to handle kernel NULL pointer dereference at (null)

From: Cyrill Gorcunov
Date: Tue Jan 19 2016 - 17:45:49 EST


On Tue, Jan 19, 2016 at 02:30:45PM -0800, David Rientjes wrote:
> On Tue, 19 Jan 2016, Cyrill Gorcunov wrote:
>
> > Seems it should be something like that (untested at moment, please
> > take a look).
> > ---
> > From: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>
> > Subject: [PATCH] mm: Fix tracepoint for scanning pages
> >
> > The page might be NULL so use page_to_pfn in conditional call.
> >
> > Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>
>
> I think this is obviously correct, so
>
> Acked-by: David Rientjes <rientjes@xxxxxxxxxx>

Thank you. I've compile tested it, but didn't run.