On Tue, Jan 17, 2012 at 3:45 PM, <leonid.moiseichuk@xxxxxxxxx> wrote: > 3. maybe someone needs similar solution, keep it internally = kill it. Now > module looks pretty simple for me and maintainable. Plus one small issue > fixed for swapinfo() If you're serious about making this a generic thing, it must live in mm/mem_notify.c. No ifs or buts about it. I'm also not completely convinced we need to put memnotify policy in the kernel. Why can't we extend Minchan's patch to report the relevant numbers and let the userspace figure out when pressure is above some interesting threshold? Pekka -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>