On Tue, Dec 29, 2020 at 02:33:42AM +0000, Shaoying Xu wrote: > From: Johannes Weiner <hannes@xxxxxxxxxxx> > > commit c9019e9bf42e66d028d70d2da6206cad4dd9250d upstream > > Replace all raw 'this_cpu_' modifications of the stat and event per-cpu > counters with API functions such as mod_memcg_state(). > > This makes the code easier to read, but is also in preparation for the > next patch, which changes the per-cpu implementation of those counters. > > Link: http://lkml.kernel.org/r/20171103153336.24044-1-hannes@xxxxxxxxxxx > Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx> > Acked-by: Vladimir Davydov <vdavydov.dev@xxxxxxxxx> > Cc: Michal Hocko <mhocko@xxxxxxxx> > Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> > Cc: <stable@xxxxxxxxxxxxxxx> > Signed-off-by: Shaoying Xu <shaoyi@xxxxxxxxxx> > --- > include/linux/memcontrol.h | 31 +++++++++++++++--------- > mm/memcontrol.c | 59 ++++++++++++++++++++-------------------------- > 2 files changed, 45 insertions(+), 45 deletions(-) All now queued up, thanks. greg k-h