summaryrefslogtreecommitdiffstats
path: root/mm/percpu-internal.h
diff options
context:
space:
mode:
authorChris Down <chris@chrisdown.name>2019-03-06 00:45:52 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2019-03-06 06:07:17 +0100
commitaa9694bb78bf6eb03810108d5f6064fafa4ae1e1 (patch)
tree34dbb3910f4653679740cfd08eeaa7d5e655ac1e /mm/percpu-internal.h
parentkernel: cgroup: add poll file operation (diff)
downloadlinux-aa9694bb78bf6eb03810108d5f6064fafa4ae1e1.tar.xz
linux-aa9694bb78bf6eb03810108d5f6064fafa4ae1e1.zip
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>
Diffstat (limited to 'mm/percpu-internal.h')
0 files changed, 0 insertions, 0 deletions