lkml.org 
[lkml]   [2012]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC 1/3] /dev/low_mem_notify
From
On Thu, Jan 19, 2012 at 1:54 PM,  <leonid.moiseichuk@nokia.com> 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


\
 
 \ /
  Last update: 2012-01-19 13:03    [W:0.148 / U:2.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site