> This requires a 3.10 kernel, something that the phone doesn't have.
- Krillin (BQ Aquaris E4.5) has a 3.4.67 kernel
- Arale (Meizu MX4) has a 3.10.35+ kernel
- Frieza (BQ Aquaris M10) has a 3.10.93+ kernel
On those devices that have a kernel >= 3.10, it doesn’t look like memory cgroups are enabled though (I’m not seeing any /sys/fs/cgroup/memory entry).
The alternative approach pointed to by carloslp is basically regularly polling /proc/meminfo. We are already doing something similar in webbrowser-app, I wonder whether that mechanism should be moved to oxide?
> This requires a 3.10 kernel, something that the phone doesn't have.
- Krillin (BQ Aquaris E4.5) has a 3.4.67 kernel
- Arale (Meizu MX4) has a 3.10.35+ kernel
- Frieza (BQ Aquaris M10) has a 3.10.93+ kernel
On those devices that have a kernel >= 3.10, it doesn’t look like memory cgroups are enabled though (I’m not seeing any /sys/fs/ cgroup/ memory entry).
The alternative approach pointed to by carloslp is basically regularly polling /proc/meminfo. We are already doing something similar in webbrowser-app, I wonder whether that mechanism should be moved to oxide?