Re: [PATCH] mm/hugetlb: __get_user_pages ignores certain follow_hugetlb_page errors

From: Daniel Jordan
Date: Fri Jul 21 2017 - 20:06:08 EST


Hi Punit,

On 07/21/2017 05:20 AM, Punit Agrawal wrote:
The change makes sense.
FWIW,

Acked-by: Punit Agrawal <punit.agrawal@xxxxxxx>

Thanks, I appreciate that.

I was wondering how you hit the issue. Is there a test case that could
have spotted this earlier?

This was actually just by inspection.

I checked selftests/vm, but there's nothing in there that would have come close to spotting this, so unfortunately there's no existing test case.

Thanks,
Daniel