1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-20 21:34:54 +00:00
Chris Down aa9694bb78 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/20190124194050.GA31341@chrisdown.name
Signed-off-by: Chris Down <chris@chrisdown.name>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Roman Gushchin <guro@fb.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-03-05 21:07:17 -08:00
..
2019-01-01 15:45:48 -08:00
2019-02-28 09:16:12 +01:00
2019-02-25 09:28:54 +01:00
2019-02-08 22:39:01 -08:00
2019-01-02 16:35:23 -08:00
2019-01-24 11:11:45 -07:00
2018-12-28 14:48:06 -08:00
2019-02-01 20:55:38 +01:00
2019-02-27 17:22:50 +01:00
2019-02-01 20:55:38 +01:00
2019-02-27 17:22:50 +01:00
2018-12-31 11:46:59 -08:00
2019-03-05 21:07:16 -08:00
2019-03-05 21:07:17 -08:00
2019-01-04 13:13:48 -08:00
2019-02-13 22:00:16 -08:00
2019-01-04 13:13:48 -08:00
2019-02-08 15:02:49 -08:00
2019-01-05 17:57:34 -08:00
2019-01-05 17:57:34 -08:00
2019-03-03 21:47:57 -08:00
2019-01-07 16:38:26 +01:00
2019-02-03 11:17:31 -08:00
2019-01-11 18:05:40 -08:00