On 09/06/2018 05:21 AM, Mike Kravetz wrote:
BTW, free_huge_page called by put_page for hugetlbfs pages may also take a subpool specific lock via spin_lock(). See hugepage_subpool_put_pages. So, this would also need to take irq context into account.
I missed that. I can take care of that in next patch update based on what we decide w.r.t this patch.
-aneesh