Messages in this thread | | | Date | Thu, 19 Jan 2012 14:06:14 +0200 | Subject | Re: [RFC 1/3] /dev/low_mem_notify | From | Pekka Enberg <> |
| |
On Thu, Jan 19, 2012 at 1:54 PM, <leonid.moiseichuk@nokia.com> wrote: >> On Thu, Jan 19, 2012 at 12:53 PM, <leonid.moiseichuk@nokia.com> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |