From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx179.postini.com [74.125.245.179]) by kanga.kvack.org (Postfix) with SMTP id 9FF4F6B0033 for ; Tue, 11 Jun 2013 09:13:20 -0400 (EDT) Received: by mail-wi0-f177.google.com with SMTP id ey16so4113232wid.16 for ; Tue, 11 Jun 2013 06:13:19 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20130611062124.GA24031@dhcp22.suse.cz> References: <021701ce65cb$a3b9c3b0$eb2d4b10$%kim@samsung.com> <20130610151258.GA14295@dhcp22.suse.cz> <20130611001747.GA16971@teo> <20130611062124.GA24031@dhcp22.suse.cz> Date: Tue, 11 Jun 2013 16:13:18 +0300 Message-ID: Subject: Re: [PATCH] memcg: event control at vmpressure. From: Pekka Enberg Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: Anton Vorontsov , Hyunhee Kim , "linux-mm@kvack.org" , Kyungmin Park On Tue, Jun 11, 2013 at 9:21 AM, Michal Hocko wrote: >> Or, if you still want the "one-shot"/"edge-triggered" events (which might >> make perfect sense for medium and critical levels), then I'd propose to >> add some additional flag when you register the event, so that the old >> behaviour would be still available for those who need it. This approach I >> think is the best one. > > Hmm, how would one-shot even differ from a single open, register, read > and close? Yup, one-shot probably doesn't make sense but edge-triggered does. -- 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