Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1653463
| From | Johannes Weiner <hannes@cmpxchg.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/6] mm: per-lruvec slab stats |
| Date | 2017-05-30 20:20 +0200 |
| Message-ID | <tMTUl-2jI-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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(-)
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/6] mm: per-lruvec slab stats Johannes Weiner <hannes@cmpxchg.org> - 2017-05-30 20:20 +0200
[PATCH 3/6] mm: memcontrol: use the node-native slab memory counters Johannes Weiner <hannes@cmpxchg.org> - 2017-05-30 20:20 +0200
Re: [PATCH 3/6] mm: memcontrol: use the node-native slab memory counters Vladimir Davydov <vdavydov.dev@gmail.com> - 2017-06-03 19:40 +0200
csiph-web