diff options
author | Hui Su | 2021-09-02 14:59:36 -0700 |
---|---|---|
committer | Linus Torvalds | 2021-09-03 09:58:17 -0700 |
commit | 9647875be52b33fe22cb034ec3074896c581543f (patch) | |
tree | cda5239fcb015827c95d6108763a399d388ad65b /lib/bitrev.c | |
parent | 20b51af15e014cac63b58a4f8b8b323ac35bccce (diff) |
mm/vmpressure: replace vmpressure_to_css() with vmpressure_to_memcg()
We can get memcg directly form vmpr instead of vmpr->memcg->css->memcg, so
add a new func helper vmpressure_to_memcg(). And no code will use
vmpressure_to_css(), so delete it.
Link: https://lkml.kernel.org/r/20210630112146.455103-1-suhui@zeku.com
Signed-off-by: Hui Su <suhui@zeku.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Chris Down <chris@chrisdown.name>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/bitrev.c')
0 files changed, 0 insertions, 0 deletions