From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yh0-f53.google.com (mail-yh0-f53.google.com [209.85.213.53]) by kanga.kvack.org (Postfix) with ESMTP id 79B5C6B0031 for ; Thu, 6 Mar 2014 16:04:31 -0500 (EST) Received: by mail-yh0-f53.google.com with SMTP id i57so326562yha.40 for ; Thu, 06 Mar 2014 13:04:31 -0800 (PST) Received: from mail-yh0-x232.google.com (mail-yh0-x232.google.com [2607:f8b0:4002:c01::232]) by mx.google.com with ESMTPS id m69si12394180yhb.85.2014.03.06.13.04.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Mar 2014 13:04:30 -0800 (PST) Received: by mail-yh0-f50.google.com with SMTP id t59so3299853yho.37 for ; Thu, 06 Mar 2014 13:04:30 -0800 (PST) Date: Thu, 6 Mar 2014 16:04:27 -0500 From: Tejun Heo Subject: Re: [patch 04/11] mm, memcg: add tunable for oom reserves Message-ID: <20140306210427.GH14033@htj.dyndns.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: David Rientjes Cc: Andrew Morton , Johannes Weiner , Michal Hocko , KAMEZAWA Hiroyuki , Christoph Lameter , Pekka Enberg , Mel Gorman , Oleg Nesterov , Rik van Riel , Jianguo Wu , Tim Hockin , linux-kernel@vger.kernel.org, linux-mm@kvack.org, cgroups@vger.kernel.org, linux-doc@vger.kernel.org On Tue, Mar 04, 2014 at 07:59:19PM -0800, David Rientjes wrote: > Userspace needs a way to define the amount of memory reserves that > processes handling oom conditions may utilize. This patch adds a per- > memcg oom reserve field and file, memory.oom_reserve_in_bytes, to > manipulate its value. > > If currently utilized memory reserves are attempted to be reduced by > writing a smaller value to memory.oom_reserve_in_bytes, it will fail with > -EBUSY until some memory is uncharged. > > Signed-off-by: David Rientjes We're completely unsure this is the way we wanna be headed and this is a huge commitment. For now at least, Nacked-by: Tejun Heo -- tejun -- 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