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 <kir...@shutemov.name> > 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-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/