| From | James Houghton <> | Date | Tue, 10 Jan 2023 15:04:14 -0500 | Subject | Re: [PATCH 35/46] hugetlb: add MADV_COLLAPSE for hugetlb |
| |
> + > + if (curr < end) { > + /* Don't hold the VMA lock for too long. */ > + hugetlb_vma_unlock_write(vma); > + cond_resched(); > + hugetlb_vma_lock_write(vma);
I need to drop/reacquire the mapping lock here too (missed this when I added the bits to grab the mapping lock in this function).
|