Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030252Ab2JYIrp (ORCPT ); Thu, 25 Oct 2012 04:47:45 -0400 Received: from LGEMRELSE1Q.lge.com ([156.147.1.111]:49106 "EHLO LGEMRELSE1Q.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030220Ab2JYIrn (ORCPT ); Thu, 25 Oct 2012 04:47:43 -0400 X-AuditID: 9c93016f-b7c7bae000000eb7-f2-5088fcaddb78 Date: Thu, 25 Oct 2012 17:53:09 +0900 From: Minchan Kim To: Pekka Enberg Cc: Anton Vorontsov , Mel Gorman , Leonid Moiseichuk , KOSAKI Motohiro , Bartlomiej Zolnierkiewicz , John Stultz , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linaro-kernel@lists.linaro.org, patches@linaro.org, kernel-team@android.com, linux-man@vger.kernel.org Subject: Re: [RFC v2 0/2] vmevent: A bit reworked pressure attribute + docs + man page Message-ID: <20121025085309.GC15767@bbox> References: <20121022111928.GA12396@lizard> <20121025064009.GA15767@bbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1618 Lines: 39 Hi Pekka, On Thu, Oct 25, 2012 at 09:44:52AM +0300, Pekka Enberg wrote: > On Thu, Oct 25, 2012 at 9:40 AM, Minchan Kim wrote: > > Your description doesn't include why we need new vmevent_fd(2). > > Of course, it's very flexible and potential to add new VM knob easily but > > the thing we is about to use now is only VMEVENT_ATTR_PRESSURE. > > Is there any other use cases for swap or free? or potential user? > > Adding vmevent_fd without them is rather overkill. > > What ABI would you use instead? I thought /dev/some_knob like mem_notify and epoll is enough but please keep in mind that I'm not against vmevent_fd strongly. My point is that description should include explain about why other candidate is not good or why vmevent_fd is better. (But at least, I don't like vmevent timer polling still and I hope we use it as last resort once we can find another) > > On Thu, Oct 25, 2012 at 9:40 AM, Minchan Kim wrote: > > I don't object but we need rationale for adding new system call which should > > be maintained forever once we add it. > > Agreed. > > -- > 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 -- Kind regards, Minchan Kim -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/