Re: [PATCH] mm/hugetlb: check for pte NULL pointer in __page_check_address()

From: Jianguo Wu
Date: Mon Dec 16 2013 - 20:13:28 EST


Hi Kirill,

On 2013/12/16 22:25, Kirill A. Shutemov wrote:

> 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@xxxxxxxxxx>
>
> Looks okay to me.
>
> Acked-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
>
> Have you triggered a crash there? Or just spotted by reading the code?
>


By reading the code.

Thanks,
Jianguo Wu

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/