OpenCloudOS-Kernel/arch/hexagon/mm
Johannes Weiner 00f3ca2c2d mm: memcontrol: per-lruvec stats infrastructure
lruvecs are at the intersection of the NUMA node and memcg, which is the
scope for most paging activity.

Introduce a convenient accounting infrastructure that maintains
statistics per node, per memcg, and the lruvec itself.

Then convert over accounting sites for statistics that are already
tracked in both nodes and memcgs and can be easily switched.

[hannes@cmpxchg.org: fix crash in the new cgroup stat keeping code]
  Link: http://lkml.kernel.org/r/20170531171450.GA10481@cmpxchg.org
[hannes@cmpxchg.org: don't track uncharged pages at all
  Link: http://lkml.kernel.org/r/20170605175254.GA8547@cmpxchg.org
[hannes@cmpxchg.org: add missing free_percpu()]
  Link: http://lkml.kernel.org/r/20170605175354.GB8547@cmpxchg.org
[linux@roeck-us.net: hexagon: fix build error caused by include file order]
  Link: http://lkml.kernel.org/r/20170617153721.GA4382@roeck-us.net
Link: http://lkml.kernel.org/r/20170530181724.27197-6-hannes@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Josef Bacik <josef@toxicpanda.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-07-06 16:24:35 -07:00
..
Makefile Hexagon: Add configuration and makefiles for the Hexagon architecture. 2011-11-01 07:34:21 -07:00
cache.c hexagon: Fix build failures in linux-next 2014-12-16 13:27:12 -06:00
copy_from_user.S hexagon: switch to RAW_COPY_USER 2017-04-24 20:28:29 -04:00
copy_to_user.S hexagon: switch to RAW_COPY_USER 2017-04-24 20:28:29 -04:00
copy_user_template.S Hexagon: Copyright marking changes 2012-10-18 17:07:21 -05:00
init.c treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
ioremap.c hexagon: Fix build failures in linux-next 2014-12-16 13:27:12 -06:00
pgalloc.c Hexagon: Copyright marking changes 2012-10-18 17:07:21 -05:00
strnlen_user.S Hexagon: Copyright marking changes 2012-10-18 17:07:21 -05:00
uaccess.c hexagon: Use raw_copy_to_user 2017-06-10 19:10:31 -07:00
vm_fault.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
vm_tlb.c mm: memcontrol: per-lruvec stats infrastructure 2017-07-06 16:24:35 -07:00