From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757630AbcASWpr (ORCPT ); Tue, 19 Jan 2016 17:45:47 -0500 Received: from mail-lf0-f44.google.com ([209.85.215.44]:36008 "EHLO mail-lf0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753736AbcASWpk (ORCPT ); Tue, 19 Jan 2016 17:45:40 -0500 Date: Wed, 20 Jan 2016 01:45:36 +0300 From: Cyrill Gorcunov To: David Rientjes Cc: kernel test robot , Ebru Akagunduz , lkp@01.org, LKML , Andrew Morton , Dan Carpenter , Michal Hocko , Johannes Weiner , Hugh Dickins , "Aneesh Kumar K.V" , Vlastimil Babka , Mel Gorman , Xie XiuQi , Joonsoo Kim , Andrea Arcangeli , Naoya Horiguchi , Rik van Riel , "Kirill A. Shutemov" , Linus Torvalds Subject: Re: [lkp] [mm] 7d2eba0557: BUG: unable to handle kernel NULL pointer dereference at (null) Message-ID: <20160119224536.GA2262@uranus> References: <8737tue3mn.fsf@yhuang-dev.intel.com> <20160119080211.GD2890@uranus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > 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 > > I think this is obviously correct, so > > Acked-by: David Rientjes Thank you. I've compile tested it, but didn't run.