Cc: Jon Tollefson <kniht@...>, Andrew Morton <akpm@...>, Nick Piggin <npiggin@...>, Nishanth Aravamudan <nacc@...>, Adam Litke <agl@...>, <linux-kernel@...>, <kernel-testers@...>, <linux-mm@...>
decrement_hugepage_resv_vma() is called with hugetlb_lock held and region_chg
calls kmalloc(GFP_KERNEL). Hence it's possible we would sleep with that
spinlock held which is a bit uncool. The allocation needs to happen outside
the lock. Right?
--
Mel Gorman
--