Re: [PATCH 3/8] mm/huge_memory: have zap_huge_pmd return a boolean, add kdoc

From: Baolin Wang

Date: Thu Mar 19 2026 - 02:41:09 EST




On 3/19/26 4:39 AM, Lorenzo Stoakes (Oracle) wrote:
There's no need to use the ancient approach of returning an integer here,
just return a boolean.

Also update flush_needed to be a boolean, similarly.

Also add a kdoc comment describing the function.

Signed-off-by: Lorenzo Stoakes (Oracle) <ljs@xxxxxxxxxx>
---

Make sense to me.
Reviewed-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>