[PATCH v2 0/2] mm/cgroup soft limit data allocation

From: Laurent Dufour
Date: Thu Feb 23 2017 - 08:37:01 EST


The first patch of this series is fixing a panic occurring when soft
limit data allocation is using soft limit data.

The second patch, as suggested by Michal Hocko, is pushing forward by
delaying the soft limit data allocation when a soft limit is set.

V1->V2:
- move sanity pointer checks to the first patch
- differ also the allocation of the pointer table
- return error in the case allocation failed

Laurent Dufour (2):
mm/cgroup: avoid panic when init with low memory
mm/cgroup: delay soft limit data allocation

mm/memcontrol.c | 74 ++++++++++++++++++++++++++++++++++++++++++++-------------
1 file changed, 57 insertions(+), 17 deletions(-)

--
2.7.4