Re: [PATCH V2] mm/slab.c: Delete the if statement

From: Vlastimil Babka
Date: Fri Jan 13 2023 - 06:35:15 EST


On 1/13/23 00:53, David Rientjes wrote:
> On Wed, 11 Jan 2023, lvqian@xxxxxxxxxxxx wrote:
>
>> From: lvqian <lvqian@xxxxxxxxxxxx>
>>
>> Remove the if statement to increase code readability.
>>
>> Signed-off-by: lvqian <lvqian@xxxxxxxxxxxx>
>
> Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
>
> Will rely on Vlastimil to remove the spurious tab in the commit
> description.

Right, also changed subject to:
mm/slab.c: cleanup is_debug_pagealloc_cache()

Function could be inline, but no strong preference.

Good point, did that too.

Added to
slab/for-6.3/cleanups

Thanks.