Re: [RFC 1/3] /dev/low_mem_notify
From: Pekka Enberg
Date: Thu Jan 19 2012 - 07:06:13 EST
On Thu, Jan 19, 2012 at 1:54 PM, <leonid.moiseichuk@xxxxxxxxx> wrote:
>> On Thu, Jan 19, 2012 at 12:53 PM, <leonid.moiseichuk@xxxxxxxxx> wrote:
>> > 6. I do not understand how work with attributes performed ( ) but it
>> > has sense to use mask and fill requested attributes using mask and
>> > callback table i.e. if free pages requested - they are reported, otherwise
>> not.
>>
>> That's how it works now in the git tree.
>
> Vmnotify.c has vmnotify_watch_event which collects fixed set of parameters.
That's would be a bug. We should check event_attrs like we do for NR_SWAP_PAGES.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/