diff options
author | Vladimir Davydov <vdavydov@parallels.com> | 2014-01-24 00:53:05 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-24 01:36:51 +0100 |
commit | f717eb3abb5ea38f60e671dbfdbf512c2c93d22e (patch) | |
tree | fe2eab9564f0c35be5bb9c715f12fbdf79b155e4 /mm/slab.h | |
parent | memcg: get rid of kmem_cache_dup() (diff) | |
download | linux-f717eb3abb5ea38f60e671dbfdbf512c2c93d22e.tar.xz linux-f717eb3abb5ea38f60e671dbfdbf512c2c93d22e.zip |
slab: do not panic if we fail to create memcg cache
There is no point in flooding logs with warnings or especially crashing
the system if we fail to create a cache for a memcg. In this case we
will be accounting the memcg allocation to the root cgroup until we
succeed to create its own cache, but it isn't that critical.
Signed-off-by: Vladimir Davydov <vdavydov@parallels.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Glauber Costa <glommer@gmail.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Christoph Lameter <cl@linux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab.h')
0 files changed, 0 insertions, 0 deletions