Re: [PATCH v2 2/5] mm: shmem: change shmem_huge_global_enabled() to return huge order bitmap

From: David Hildenbrand
Date: Tue Nov 12 2024 - 11:38:04 EST


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