[ 14/36] memcg: check that kmem_cache has memcg_params before accessing it

2013-09-05 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Vagin commit 6f6b8951897e487ea6f77b90ea01f70a9c363770 upstream. If the system had a few memory groups and all of them were destroyed, memcg_limited_groups_array_size has non-zero

[ 14/36] memcg: check that kmem_cache has memcg_params before accessing it

2013-09-05 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Vagin ava...@openvz.org commit 6f6b8951897e487ea6f77b90ea01f70a9c363770 upstream. If the system had a few memory groups and all of them were destroyed, memcg_limited_groups_array_size