Re: [PATCH] mm/page_counter: remove an incorrect call to propagate_protected_usage()

From: Roman Gushchin
Date: Thu Nov 18 2021 - 14:16:24 EST


On Thu, Nov 18, 2021 at 01:11:25PM -0500, Donghai Qiao wrote:
> The function propagate_protected_usage() is called to propagate the usage
> change in the page_counter structure. But there is call to this function
> from page_counter_try_charge() when there is actually no usage change.
> Hence this call should be removed.
>
> Signed-off-by: Donghai Qiao <dqiao@xxxxxxxxxx>

Reviewed-by: Roman Gushchin <guro@xxxxxx>

Thanks, Donghai!