Thread (62 messages) 62 messages, 11 authors, 2012-01-26

Re: [RFC 1/3] /dev/low_mem_notify

From: Pekka Enberg <penberg@kernel.org>
Date: 2012-01-19 12:00:03
Also in: lkml

On Thu, Jan 19, 2012 at 1:54 PM,  [off-list ref] wrote:
quoted
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@kvack.org.  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@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help