On Wed 22-11-17 11:11:38, Mike Kravetz wrote: > On 11/22/2017 07:28 AM, Michal Hocko wrote: [...] > > Why don't we simply migrate as long as we are able to allocate the > > target hugetlb page? I have a half baked patch to remove this > > restriction, would there be an opposition to do something like that? > > I would not be opposed and would help with this effort. My concern would > be any subtle hugetlb accounting issues once you start messing with > additional overcommit pages. Well my current (crude) patch checks for overcommit in the destructor and releases the page if we are over. That should deal with accounting AFAICS. -- Michal Hocko SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>