Name / IRC nick: Karry
topic: lowmemory killer and memory state reporting
some details about the topic: Sailfish OS has mechanism for notifying applications when system has not enough memory (by mce daemon, via D-Bus api). Together with lowmemory killer (kernel module) that kills applications when memory is under pressure, it maintain free memory reserve. It is good idea. But it is not working properly on Sony mobiles without memnotify api. Mce is counting free memory wrongly with cgroup api. And kernel lowmemory killer has multiple downsides. See [4.1.0.24][Xperia 10 II] Unknown memory level reported by MCE and my blog post Sailfish OS and memory :: karry.cz. So my question is, what are Jolla’s plan in this area? Specifically:
- do Jolla want to use lowmemory killer in kernel in future, or migrate to user-space daemon, similar as Android does?
- do you agree with my conclusion that mce computes memory incorrectly?
what api to use, when memnotify is not available? Cgroup don’t provides enough details. I can imagine just parsing
/proc/meminfo
…
approx. time needed: 10 minutes
name of substitute: I should be able to attend the beginning of the meeting (first 40 minutes). I don’t know the substitute, but we may continue discussion asynchronously, or in next meeting…