Messages in this thread | | | Date | Thu, 5 Jan 2012 15:01:10 -0800 (PST) | From | David Rientjes <> | Subject | Re: [PATCH 3.2.0-rc1 0/3] Used Memory Meter pseudo-device and related changes in MM |
| |
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.
| |