From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753542AbcEMPoh (ORCPT ); Fri, 13 May 2016 11:44:37 -0400 Received: from lxorguk.ukuu.org.uk ([81.2.110.251]:41532 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751536AbcEMPog (ORCPT ); Fri, 13 May 2016 11:44:36 -0400 Date: Fri, 13 May 2016 16:43:57 +0100 From: One Thousand Gnomes To: Sebastian Frias Cc: Michal Hocko , Mason , linux-mm@kvack.org, Andrew Morton , Linus Torvalds , LKML Subject: Re: [PATCH] mm: add config option to select the initial overcommit mode Message-ID: <20160513164357.5f565d3c@lxorguk.ukuu.org.uk> In-Reply-To: <5735F4B1.1010704@laposte.net> References: <5731CC6E.3080807@laposte.net> <20160513080458.GF20141@dhcp22.suse.cz> <573593EE.6010502@free.fr> <20160513095230.GI20141@dhcp22.suse.cz> <5735AA0E.5060605@free.fr> <20160513114429.GJ20141@dhcp22.suse.cz> <5735C567.6030202@free.fr> <20160513140128.GQ20141@dhcp22.suse.cz> <20160513160410.10c6cea6@lxorguk.ukuu.org.uk> <5735F4B1.1010704@laposte.net> Organization: Intel Corporation X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > But wouldn't those affect a given process at at time? > Does that means that the OOM-killer is woken up to kill process X when those situations arise on process Y? Not sure I understand the question. > Also, under what conditions would copy-on-write fail? When you have no memory or swap pages free and you touch a COW page that is currently shared. At that point there is no resource to back to the copy so something must die - either the process doing the copy or something else. Alan