Re: [PATCH v2 RESEND 2/3] mm: memblock: show all region flags in debugfs

From: Meijing Zhao

Date: Mon Aug 24 2026 - 21:58:00 EST


On Sun, Aug 23, 2026, Mike Rapoport wrote:
> first and flags can be declared here.

Agreed. I'll move them into the reg->flags block.

> Can we really have both j < count and !flagname[j]?

No. All currently defined memblock flag bits are contiguous and every
entry in flagname[] is initialized. I'll remove the redundant NULL
check.

> No need to change this

Agreed. I'll keep the existing code unchanged.

Thanks for the review.