Messages in this thread | | | Date | Mon, 11 May 2009 12:44:16 -0700 (PDT) | From | David Rientjes <> | Subject | Re: [patch 1/5] oom: cleanup android low memory killer |
| |
On Mon, 4 May 2009, Rik van Riel wrote:
> > There was an interest in a low mem userspace notifier that applications can > > poll() on at configurable low mem levels to react accordingly. This would > > probably address the problem that the Android team is trying to fix. > > This would also make it easier for virtual machines to be > ballooned down to size when the host experiences memory > pressure. > > The low memory notification could also be useful for JVMs, > databases that do (some of) their own caching and any garbage > collected program in general. >
I agree, and I'd suggest that it be implemented as a cgroup so that individual sets of tasks can be responsible for their own lowmem notifiers.
KOSAKI, you were pushing the /dev/mem_notify patchset last year from Marcelo. Do you have any plans of recreating that in a cgroup or have you dropped it?
| |