lkml.org 
[lkml]   [2013]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] mm/hugetlb: check for pte NULL pointer in __page_check_address()
Date
Jianguo Wu wrote:
> In __page_check_address(), if address's pud is not present,
> huge_pte_offset() will return NULL, we should check the return value.
>
> Signed-off-by: Jianguo Wu <wujianguo@huawei.com>

Looks okay to me.

Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>

Have you triggered a crash there? Or just spotted by reading the code?

--
Kirill A. Shutemov


\
 
 \ /
  Last update: 2013-12-16 16:01    [W:0.054 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site