lkml.org 
[lkml]   [2021]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm/page_counter: remove an incorrect call to propagate_protected_usage()
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@redhat.com>

Reviewed-by: Roman Gushchin <guro@fb.com>

Thanks, Donghai!

\
 
 \ /
  Last update: 2021-11-18 20:17    [W:0.462 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site