Re: [PATCH v1 13/36] mm/hugetlb: cleanup hugetlb_folio_init_tail_vmemmap()

From: Mike Rapoport
Date: Thu Aug 28 2025 - 04:38:18 EST


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@xxxxxxxxxx>

--
Sincerely yours,
Mike.