]> Git Repo - linux.git/commit - kernel/fork.c
mm: kmem: rename memcg_kmem_(un)charge() into memcg_kmem_(un)charge_page()
authorRoman Gushchin <[email protected]>
Thu, 2 Apr 2020 04:06:46 +0000 (21:06 -0700)
committerLinus Torvalds <[email protected]>
Thu, 2 Apr 2020 16:35:28 +0000 (09:35 -0700)
commitf4b00eab5004e823f28a268580ae4ed16df9fabf
tree42925ca145f7d065737b8004fd27d57d0ab634c4
parent50591183fa86c4436f6408c6b702af5e4de7524d
mm: kmem: rename memcg_kmem_(un)charge() into memcg_kmem_(un)charge_page()

Rename (__)memcg_kmem_(un)charge() into (__)memcg_kmem_(un)charge_page()
to better reflect what they are actually doing:

1) call __memcg_kmem_(un)charge_memcg() to actually charge or uncharge
   the current memcg

2) set or clear the PageKmemcg flag

Signed-off-by: Roman Gushchin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Shakeel Butt <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Vladimir Davydov <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
fs/pipe.c
include/linux/memcontrol.h
kernel/fork.c
mm/memcontrol.c
mm/page_alloc.c
This page took 0.057859 seconds and 4 git commands to generate.