]> git.baikalelectronics.ru Git - kernel.git/commit
slub: adjust memcg caches when creating cache alias
authorVladimir Davydov <vdavydov@parallels.com>
Mon, 7 Apr 2014 22:39:29 +0000 (15:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Apr 2014 23:36:13 +0000 (16:36 -0700)
commitbf72daee551b1af4ad48fb08888c36e48baa297f
tree9b5fc606816eda4bf2ca5c980a876d149d3e4692
parentd1394c3eacc79526f7dbe37a4c546bc7f81e3a84
slub: adjust memcg caches when creating cache alias

Otherwise, kzalloc() called from a memcg won't clear the whole object.

Signed-off-by: Vladimir Davydov <vdavydov@parallels.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Glauber Costa <glommer@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slub.c