commit | aa9694bb78bf6eb03810108d5f6064fafa4ae1e1 | [log] [tgz] |
---|---|---|
author | Chris Down <[email protected]> | Tue Mar 05 15:45:52 2019 -0800 |
committer | Linus Torvalds <[email protected]> | Tue Mar 05 21:07:17 2019 -0800 |
tree | 34dbb3910f4653679740cfd08eeaa7d5e655ac1e | |
parent | dc50537bdd1a0804fa2cbc990565ee9a944e66fa [diff] |
mm, memcg: create mem_cgroup_from_seq This is the start of a series of patches similar to my earlier DEFINE_MEMCG_MAX_OR_VAL work, but with less Macro Magic(tm). There are a bunch of places we go from seq_file to mem_cgroup, which currently requires manually getting the css, then getting the mem_cgroup from the css. It's in enough places now that having mem_cgroup_from_seq makes sense (and also makes the next patch a bit nicer). Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Chris Down <[email protected]> Acked-by: Johannes Weiner <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Roman Gushchin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>