On Thu, Jan 19, 2012 at 1:54 PM, <leonid.moiseichuk@xxxxxxxxx> wrote: >> The current ABI already supports that. You can specify which attributes >> you're interested in and they will be delivered as part of th event. > > But you have in vmnotify.h suspicious free_pages_threshold field. Aah, I was actually talking about the events userspace _reads_. The free_pages_threshold field is only used if VMEVENT_TYPE_FREE_THRESHOLD bit is set. It should be cleaned up a bit but it in theory it supports watching other attributes as well. I've postponed the cleanup until I've figured out whether we can use perf which would make the whole syscall go away. 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>