From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-f169.google.com (mail-qc0-f169.google.com [209.85.216.169]) by kanga.kvack.org (Postfix) with ESMTP id 3F9056B014B for ; Wed, 11 Jun 2014 11:34:14 -0400 (EDT) Received: by mail-qc0-f169.google.com with SMTP id c9so4872181qcz.0 for ; Wed, 11 Jun 2014 08:34:14 -0700 (PDT) Received: from mail-qc0-x22b.google.com (mail-qc0-x22b.google.com [2607:f8b0:400d:c01::22b]) by mx.google.com with ESMTPS id p10si30728898qci.12.2014.06.11.08.34.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Jun 2014 08:34:13 -0700 (PDT) Received: by mail-qc0-f171.google.com with SMTP id w7so3124061qcr.2 for ; Wed, 11 Jun 2014 08:34:13 -0700 (PDT) Date: Wed, 11 Jun 2014 11:34:10 -0400 From: Tejun Heo Subject: Re: [PATCH 2/2] memcg: Allow hard guarantee mode for low limit reclaim Message-ID: <20140611153410.GB17777@htj.dyndns.org> References: <20140606144421.GE26253@dhcp22.suse.cz> <1402066010-25901-1-git-send-email-mhocko@suse.cz> <1402066010-25901-2-git-send-email-mhocko@suse.cz> <20140610165756.GG2878@cmpxchg.org> <20140611075729.GA4520@dhcp22.suse.cz> <20140611123109.GA17777@htj.dyndns.org> <20140611141117.GF4520@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140611141117.GF4520@dhcp22.suse.cz> Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: Johannes Weiner , Greg Thelen , Hugh Dickins , Andrew Morton , KAMEZAWA Hiroyuki , KOSAKI Motohiro , Michel Lespinasse , Roman Gushchin , LKML , linux-mm@kvack.org On Wed, Jun 11, 2014 at 04:11:17PM +0200, Michal Hocko wrote: > > I still think it'd be less useful than "high", but as there seem to be > > use cases which can be served with that and especially as a part of a > > consistent control scheme, I have no objection. > > > > "low" definitely requires a notification mechanism tho. > > Would vmpressure notification be sufficient? That one is in place for > any memcg which is reclaimed. Yeah, as long as it can reliably notify userland that the soft guarantee has been breached, it'd be great as it means we'd have a single mechanism to monitor both "low" and "high" while "min" and "max" are oom based, which BTW needs more work but that's a separate piece of work. Thanks. -- 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