From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kirill A. Shutemov" Subject: Re: [RFC v3 0/3] vmpressure_fd: Linux VM pressure notifications Date: Wed, 7 Nov 2012 13:43:22 +0200 Message-ID: <20121107114321.GA32265@shutemov.name> References: <20121107105348.GA25549@lizard> <20121107112136.GA31715@shutemov.name> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Pekka Enberg Cc: Anton Vorontsov , Mel Gorman , Leonid Moiseichuk , KOSAKI Motohiro , Minchan Kim , Bartlomiej Zolnierkiewicz , John Stultz , linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linaro-kernel-cunTk1MwBs8s++Sfvej+rw@public.gmane.org, patches-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, kernel-team-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org, linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-man@vger.kernel.org On Wed, Nov 07, 2012 at 01:28:12PM +0200, Pekka Enberg wrote: > On Wed, Nov 7, 2012 at 1:21 PM, Kirill A. Shutemov wrote: > >> While the new API is very simple, it is still extensible (i.e. versioned). > > > > Sorry, I didn't follow previous discussion on this, but could you > > explain what's wrong with memory notifications from memcg? > > As I can see you can get pretty similar functionality using memory > > thresholds on the root cgroup. What's the point? > > Why should you be required to use cgroups to get VM pressure events to > userspace? Valid point. But in fact you have it on most systems anyway. I personally don't like to have a syscall per small feature. Isn't it better to have a file-based interface which can be used with normal file syscalls: open()/read()/poll()? -- Kirill A. Shutemov -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html