From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754757AbdBVP6f (ORCPT ); Wed, 22 Feb 2017 10:58:35 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:34299 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754190AbdBVP6Z (ORCPT ); Wed, 22 Feb 2017 10:58:25 -0500 From: Laurent Dufour To: Johannes Weiner , Michal Hocko , Vladimir Davydov Cc: cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] mm/cgroup soft limit data allocation Date: Wed, 22 Feb 2017 16:58:09 +0100 X-Mailer: git-send-email 2.7.4 X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 17022215-0040-0000-0000-00000330076C X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17022215-0041-0000-0000-00002441C76A Message-Id: <1487779091-31381-1-git-send-email-ldufour@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-02-22_10:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1702220149 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Laurent Dufour (2): mm/cgroup: avoid panic when init with low memory mm/cgroup: delay soft limit data allocation mm/memcontrol.c | 54 ++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 40 insertions(+), 14 deletions(-) -- 2.7.4