Both do_get_converted_pages() and get_shareable_pages() were checking the entire range covered by possibly multiple pages was made of contiguous pages. This is not necessary as the ony thing that's needed is to ensure subpages of each huge page are contiguous. This simplifies the requirement.
Both do_get_converted_pages() and get_shareable_pages() were checking the entire range covered by possibly multiple pages was made of contiguous pages. This is not necessary as the ony thing that's needed is to ensure subpages of each huge page are contiguous. This simplifies the requirement.