On 12.11.24 08:45, Baolin Wang wrote:
Change the shmem_huge_global_enabled() to return the suitable huge order bitmap, and return 0 if huge pages are not allowed. This is a preparation for supporting various huge orders allocation of tmpfs in the following patches. No functional changes.
Acked-by: David Hildenbrand <david@xxxxxxxxxx> -- Cheers, David / dhildenb