All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] mm: per-lruvec slab stats
@ 2017-05-30 18:17 ` Johannes Weiner
  0 siblings, 0 replies; 77+ messages in thread
From: Johannes Weiner @ 2017-05-30 18:17 UTC (permalink / raw)
  To: Josef Bacik
  Cc: Michal Hocko, Vladimir Davydov, Andrew Morton, Rik van Riel,
	linux-mm, cgroups, linux-kernel, kernel-team

Hi everyone,

Josef is working on a new approach to balancing slab caches and the
page cache. For this to work, he needs slab cache statistics on the
lruvec level. These patches implement that by adding infrastructure
that allows updating and reading generic VM stat items per lruvec,
then switches some existing VM accounting sites, including the slab
accounting ones, to this new cgroup-aware API.

I'll follow up with more patches on this, because there is actually
substantial simplification that can be done to the memory controller
when we replace private memcg accounting with making the existing VM
accounting sites cgroup-aware. But this is enough for Josef to base
his slab reclaim work on, so here goes.

 drivers/base/node.c        |  10 +-
 include/linux/memcontrol.h | 257 ++++++++++++++++++++++++++++++++++++---------
 include/linux/mmzone.h     |   4 +-
 include/linux/swap.h       |   1 -
 include/linux/vmstat.h     |   1 -
 kernel/fork.c              |   8 +-
 mm/memcontrol.c            |  14 ++-
 mm/page-writeback.c        |  15 +--
 mm/page_alloc.c            |   4 -
 mm/rmap.c                  |   8 +-
 mm/slab.c                  |  12 +--
 mm/slab.h                  |  18 +---
 mm/slub.c                  |   4 +-
 mm/vmscan.c                |  18 +---
 mm/vmstat.c                |   4 +-
 mm/workingset.c            |   9 +-
 16 files changed, 250 insertions(+), 137 deletions(-)

^ permalink raw reply	[flat|nested] 77+ messages in thread

end of thread, other threads:[~2017-06-07 16:20 UTC | newest]

Thread overview: 77+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-30 18:17 [PATCH 0/6] mm: per-lruvec slab stats Johannes Weiner
2017-05-30 18:17 ` Johannes Weiner
2017-05-30 18:17 ` [PATCH 1/6] mm: vmscan: delete unused pgdat_reclaimable_pages() Johannes Weiner
2017-05-30 18:17   ` Johannes Weiner
2017-05-30 21:50   ` Andrew Morton
2017-05-30 21:50     ` Andrew Morton
2017-05-30 22:02     ` Johannes Weiner
2017-05-30 22:02       ` Johannes Weiner
2017-05-30 18:17 ` [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters Johannes Weiner
2017-05-30 18:17   ` Johannes Weiner
2017-05-31  9:12   ` Heiko Carstens
2017-05-31  9:12     ` Heiko Carstens
2017-05-31  9:12     ` Heiko Carstens
2017-05-31 11:39     ` Heiko Carstens
2017-05-31 11:39       ` Heiko Carstens
2017-05-31 17:11       ` Yury Norov
2017-05-31 17:11         ` Yury Norov
2017-06-01 10:07         ` Michael Ellerman
2017-06-01 10:07           ` Michael Ellerman
2017-06-01 10:07           ` Michael Ellerman
2017-06-05 18:35           ` Johannes Weiner
2017-06-05 18:35             ` Johannes Weiner
2017-06-05 18:35             ` Johannes Weiner
2017-06-05 21:38             ` Andrew Morton
2017-06-05 21:38               ` Andrew Morton
2017-06-05 21:38               ` Andrew Morton
2017-06-07 16:20               ` Johannes Weiner
2017-06-07 16:20                 ` Johannes Weiner
2017-06-06  4:31             ` Michael Ellerman
2017-06-06  4:31               ` Michael Ellerman
2017-06-06  4:31               ` Michael Ellerman
2017-06-06 11:15               ` Michael Ellerman
2017-06-06 11:15                 ` Michael Ellerman
2017-06-06 11:15                 ` Michael Ellerman
2017-06-06 14:33                 ` Johannes Weiner
2017-06-06 14:33                   ` Johannes Weiner
2017-06-06 14:33                   ` Johannes Weiner
2017-05-30 18:17 ` [PATCH 3/6] mm: memcontrol: use the node-native slab memory counters Johannes Weiner
2017-05-30 18:17   ` Johannes Weiner
2017-06-03 17:39   ` Vladimir Davydov
2017-06-03 17:39     ` Vladimir Davydov
2017-06-03 17:39     ` Vladimir Davydov
2017-05-30 18:17 ` [PATCH 4/6] mm: memcontrol: use generic mod_memcg_page_state for kmem pages Johannes Weiner
2017-05-30 18:17   ` Johannes Weiner
2017-06-03 17:40   ` Vladimir Davydov
2017-06-03 17:40     ` Vladimir Davydov
2017-05-30 18:17 ` [PATCH 5/6] mm: memcontrol: per-lruvec stats infrastructure Johannes Weiner
2017-05-30 18:17   ` Johannes Weiner
2017-05-31 17:14   ` Johannes Weiner
2017-05-31 17:14     ` Johannes Weiner
2017-05-31 17:14     ` Johannes Weiner
2017-05-31 18:18     ` Andrew Morton
2017-05-31 18:18       ` Andrew Morton
2017-05-31 18:18       ` Andrew Morton
2017-05-31 19:02       ` Tony Lindgren
2017-05-31 19:02         ` Tony Lindgren
2017-05-31 19:02         ` Tony Lindgren
2017-05-31 22:03         ` Stephen Rothwell
2017-05-31 22:03           ` Stephen Rothwell
2017-06-01  1:44       ` Johannes Weiner
2017-06-01  1:44         ` Johannes Weiner
2017-06-01  1:44         ` Johannes Weiner
2017-06-03 17:50   ` Vladimir Davydov
2017-06-03 17:50     ` Vladimir Davydov
2017-06-03 17:50     ` Vladimir Davydov
2017-06-05 17:53     ` Johannes Weiner
2017-06-05 17:53       ` Johannes Weiner
2017-06-05 17:53       ` Johannes Weiner
2017-05-30 18:17 ` [PATCH 6/6] mm: memcontrol: account slab stats per lruvec Johannes Weiner
2017-05-30 18:17   ` Johannes Weiner
2017-06-03 17:54   ` Vladimir Davydov
2017-06-03 17:54     ` Vladimir Davydov
2017-06-05 16:52   ` [6/6] " Guenter Roeck
2017-06-05 16:52     ` Guenter Roeck
2017-06-05 17:52     ` Johannes Weiner
2017-06-05 17:52       ` Johannes Weiner
2017-06-05 17:52       ` Johannes Weiner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.