Re: [PATCH] mm/huge_memory: merge uniform_split_supported() and non_uniform_split_supported()

David Hildenbrand (Red Hat)
2025-11-04T09:05:58Z

>> Likely a simple
>>
>> enum split_type {
>> SPLIT_TYPE_UNIFORM,
>> SPLIT_TYPE_NON_UNIFORM, // or SPLIT_TYPE_BUDDY?
>> };
>>
>> Could make invocations easier to read.
>>
>
> Hmm... if so we may need to change the caller too.

Probably worth a separate cleanup patch instead of doing it in this patch.

--
Cheers

David