Re: [RFC PATCH] mm/hugetlb: make hugetlb_lock irq safe

From: Aneesh Kumar K.V
Date: Thu Sep 06 2018 - 00:03:57 EST


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