Re: [PATCH v4 4/9] hugetlb: region_chg provides only cache entry

2019-09-16 Thread Mike Kravetz
On 9/10/19 4:31 PM, Mina Almasry wrote: > Current behavior is that region_chg provides both a cache entry in > resv->region_cache, AND a placeholder entry in resv->regions. region_add > first tries to use the placeholder, and if it finds that the placeholder > has been deleted by a racing

[PATCH v4 4/9] hugetlb: region_chg provides only cache entry

2019-09-10 Thread Mina Almasry
Current behavior is that region_chg provides both a cache entry in resv->region_cache, AND a placeholder entry in resv->regions. region_add first tries to use the placeholder, and if it finds that the placeholder has been deleted by a racing region_del call, it uses the cache entry. This behavior