Messages in this thread | | | From | "Kirill A. Shutemov" <> | Subject | RE: [PATCH] mm/hugetlb: check for pte NULL pointer in __page_check_address() | Date | Mon, 16 Dec 2013 16:25:13 +0200 (EET) |
| |
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
| |