Re: [RFC v3 0/3] vmpressure_fd: Linux VM pressure notifications

From
Kirill A. Shutemov <hidden>
Date
2012-11-07 11:41:46
Also in
linux-mm, lkml
Reply to
Pekka Enberg, 2012-11-07
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 [off-list ref] wrote:
quoted
quoted
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
Thread (51 messages) 51 messages, 13 authors, last reply 2012-11-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help