Skip to content

kmemcg-fixes

Vladimir Davydov cgroups linux-mm lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/211 patches 0 repliesNew
  2. v1 posting 1/211 patches 0 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11slab: cleanup kmem_cache_create_memcg() error handlingmm/slab_common.c+31 -340 replies
2/11memcg, slab: kmem_cache_create_memcg(): fix memleak on fail pathinclude/linux/memcontrol.h mm/memcontrol.c mm/slab_common.c+19 -90 replies
3/11memcg, slab: cleanup memcg cache initialization/destructioninclude/linux/memcontrol.h mm/memcontrol.c mm/slab_common.c+37 -410 replies
4/11memcg, slab: fix barrier usage when accessing memcg_cachesmm/memcontrol.c mm/slab.h+21 -150 replies
5/11memcg: fix possible NULL deref while traversing memcg_slab_caches listmm/memcontrol.c+18 -70 replies
6/11memcg, slab: fix races in per-memcg cache creation/destructionmm/memcontrol.c mm/slab_common.c+27 -100 replies
7/11memcg: get rid of kmem_cache_dupmm/memcontrol.c+8 -310 replies
8/11slab: do not panic if we fail to create memcg cachemm/slab_common.c+8 -10 replies
9/11memcg, slab: RCU protect memcg_params for root cachesinclude/linux/slab.h mm/memcontrol.c mm/slab.h+30 -100 replies
10/11memcg: remove KMEM_ACCOUNTED_ACTIVATED flagmm/memcontrol.c+2 -260 replies
11/11memcg: rework memcg_update_kmem_limit synchronizationmm/memcontrol.c+106 -920 replies

Reviews trailers per patch

1 of 11 patches has a Reviewed-by or Acked-by.

PatchPekka Enberg
1/11R-b
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH RESEND 00/11] kmemcg-fixes

Hi,

This patch-set fixes several bugs here and there in the implementation of kmem accounting for memory cgroups and hopefully makes the code look a bit clearer.

Links to discussion threads that led to this patch-set:
http://www.spinics.net/lists/cgroups/msg09512.html
http://www.spinics.net/lists/cgroups/msg09695.html
http://www.spinics.net/lists/cgroups/msg09796.html

Any comments are highly appreciated.

Thanks.

Vladimir Davydov (11):
slab: cleanup kmem_cache_create_memcg() error handling memcg, slab: kmem_cache_create_memcg(): fix memleak on fail path memcg, slab: cleanup memcg cache initialization/destruction memcg, slab: fix barrier usage when accessing memcg_caches
memcg: fix possible NULL deref while traversing memcg_slab_caches
list
memcg, slab: fix races in per-memcg cache creation/destruction
memcg: get rid of kmem_cache_dup
slab: do not panic if we fail to create memcg cache memcg, slab: RCU protect memcg_params for root caches
memcg: remove KMEM_ACCOUNTED_ACTIVATED flag
memcg: rework memcg_update_kmem_limit synchronization

 include/linux/memcontrol.h |   23 +--
 include/linux/slab.h       |    9 +-
 mm/memcontrol.c            |  405 +++++++++++++++++++++-----------------------
 mm/slab.h                  |   26 ++-
 mm/slab_common.c           |   90 ++++++----
 5 files changed, 292 insertions(+), 261 deletions(-)
Signature · 7 lines
1.7.10.4

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>