Re: [PATCH] mm/hugetlb: fix null ptr defer in hugetlb_vma_lock_write

Mike Kravetz
2023-11-08T03:23:05Z

Hello Edward,

Do you plan on following up with a new version of the patch?

My suggestion would be:
- Move __vma_private_lock into hugetlb.c as suggeted by Rik.
- Change __vma_private_lock to check for NULL resv_map even if low bit
flags are set as well as HPAGE_RESV_OWNER.

--
Mike Kravetz