From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx197.postini.com [74.125.245.197]) by kanga.kvack.org (Postfix) with SMTP id 5D9E36B0032 for ; Tue, 2 Jul 2013 11:06:37 -0400 (EDT) Date: Tue, 2 Jul 2013 11:06:28 -0400 From: Luiz Capitulino Subject: Re: [PATCH] vmpressure: implement strict mode Message-ID: <20130702110628.5dbb75e0@redhat.com> In-Reply-To: <20130701085103.GA19798@amd.pavel.ucw.cz> References: <20130625175129.7c0d79e1@redhat.com> <20130701085103.GA19798@amd.pavel.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Pavel Machek Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, mhocko@suse.cz, minchan@kernel.org, anton@enomsg.org, akpm@linux-foundation.org On Mon, 1 Jul 2013 10:51:03 +0200 Pavel Machek wrote: > Hi! > > > diff --git a/Documentation/cgroups/memory.txt b/Documentation/cgroups/memory.txt > > index ddf4f93..3c589cf 100644 > > --- a/Documentation/cgroups/memory.txt > > +++ b/Documentation/cgroups/memory.txt > > @@ -807,12 +807,14 @@ register a notification, an application must: > > > > - create an eventfd using eventfd(2); > > - open memory.pressure_level; > > -- write string like " " > > +- write string like " [strict]" > > to cgroup.event_control. > > > > This is.. pretty strange interface. Would it be cleaner to do ioctl()? > New syscall? Are you referring to my new mode or to the whole thing? -- 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