Re: [PATCH 3.2.0-rc1 0/3] Used Memory Meter pseudo-device and relatedchanges in MM
From: David Rientjes
Date: Thu Jan 05 2012 - 18:01:19 EST
On Wed, 4 Jan 2012, Pekka Enberg wrote:
> And even if people want to support multiple ABIs and fight it out to
> see which one wins, we should factor out the generic parts and put
> them under mm/*.c and not hide them in random modules.
>
Agreed. This came up recently when another lowmem killer was proposed and
the suggestion was to enable the memory controller to be able to have the
memory threshold notifications with eventfd(2) and cgroup.event_control.
It would be very nice to have a generic lowmem notifier (like
/dev/mem_notify that has been reworked several times in the past) rather
than tying it to a particular cgroup, especially when that cgroup incurs a
substantial overhead for embedded users.
--
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/