[PATCH v1 13/36] mm/hugetlb: cleanup hugetlb_folio_init_tail_vmemmap()
David Hildenbrand
david at redhat.com
Fri Aug 29 05:00:37 PDT 2025
On 28.08.25 10:37, Mike Rapoport wrote:
> On Thu, Aug 28, 2025 at 10:18:23AM +0200, David Hildenbrand wrote:
>> On 28.08.25 10:06, Mike Rapoport wrote:
>>> On Thu, Aug 28, 2025 at 09:44:27AM +0200, David Hildenbrand wrote:
>>>> On 28.08.25 09:21, Mike Rapoport wrote:
>>>>> On Thu, Aug 28, 2025 at 12:01:17AM +0200, David Hildenbrand wrote:
>>>>>> + /*
>>>>>> + * We mark all tail pages with memblock_reserved_mark_noinit(),
>>>>>> + * so these pages are completely uninitialized.
>>>>>
>>>>> ^ not? ;-)
>>>>
>>>> Can you elaborate?
>>>
>>> Oh, sorry, I misread "uninitialized".
>>> Still, I'd phrase it as
>>>
>>> /*
>>> * We marked all tail pages with memblock_reserved_mark_noinit(),
>>> * so we must initialize them here.
>>> */
>>
>> I prefer what I currently have, but thanks for the review.
>
> No strong feelings, feel free to add
>
> Reviewed-by: Mike Rapoport (Microsoft) <rppt at kernel.org>
>
I now have
"As we marked all tail pages with memblock_reserved_mark_noinit(), we
must initialize them ourselves here."
--
Cheers
David / dhildenb
More information about the linux-riscv
mailing list