From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751362AbdBWNg6 (ORCPT ); Thu, 23 Feb 2017 08:36:58 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:52775 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751173AbdBWNgy (ORCPT ); Thu, 23 Feb 2017 08:36:54 -0500 From: Laurent Dufour To: Johannes Weiner , Michal Hocko , Vladimir Davydov , Balbir Singh Cc: cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] mm/cgroup soft limit data allocation Date: Thu, 23 Feb 2017 14:36:37 +0100 X-Mailer: git-send-email 2.7.4 X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 17022313-0024-0000-0000-000002BBBC57 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17022313-0025-0000-0000-00002282E257 Message-Id: <1487856999-16581-1-git-send-email-ldufour@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-02-23_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-1702230129 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. 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Dufour Subject: [PATCH v2 0/2] mm/cgroup soft limit data allocation Date: Thu, 23 Feb 2017 14:36:37 +0100 Message-ID: <1487856999-16581-1-git-send-email-ldufour@linux.vnet.ibm.com> Return-path: Sender: owner-linux-mm@kvack.org List-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Johannes Weiner , Michal Hocko , Vladimir Davydov , Balbir Singh Cc: cgroups@vger.kernel.org, linux-mm@kvack.org, 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. 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 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org