[PATCH 3/6] mm: change to return bool for pmdp_test_and_clear_young()

Baolin Wang baolin.wang at linux.alibaba.com
Fri Mar 20 14:07:32 AEDT 2026



On 3/19/26 7:31 PM, Lorenzo Stoakes (Oracle) wrote:
> On Thu, Mar 19, 2026 at 11:24:02AM +0800, Baolin Wang wrote:
>> Callers use pmdp_test_and_clear_young() to clear the young flag and check
>> whether it was set for this PMD entry. Change the return type to bool to
>> make the intention clearer.
>>
>> Signed-off-by: Baolin Wang <baolin.wang at linux.alibaba.com>
> 
> Some nits similar to before, otherwise LGTM so:
> 
> Reviewed-by: Lorenzo Stoakes (Oracle) <ljs at kernel.org>

Thanks. And all comments acked.


More information about the Linuxppc-dev mailing list