Re: [PATCH 2/3] mm: hugetlb: use get_page_foll in follow_hugetlb_page

From: Khalid Aziz
Date: Tue Nov 19 2013 - 16:28:04 EST


On 11/15/2013 10:47 AM, Andrea Arcangeli wrote:
get_page_foll is more optimal and is always safe to use under the PT
lock. More so for hugetlbfs as there's no risk of race conditions with
split_huge_page regardless of the PT lock.

Signed-off-by: Andrea Arcangeli <aarcange@xxxxxxxxxx>

Reviewed-by: Khalid Aziz <khalid.aziz@xxxxxxxxxx>

--
Khalid

--
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/