ashmem
ashmem
Posted Dec 21, 2011 4:41 UTC (Wed) by cmccabe (guest, #60281)In reply to: ashmem by Cyberax
Parent article: Bringing Android closer to the mainline
> Tmpfs also needs to enforce this option for ALL files and
> provide per-app quotas so that one app won't be able to eat all the space.
> provide per-app quotas so that one app won't be able to eat all the space.
Android creates a new user for each application, and runs the application as that user. So traditional per-user disk quotas should be usable, at least in theory.
> Besides, tmpfs footprint should be taken into account during
> OOM killer run.
With cgroups and the userspace OOM killer framework, you can implement whatever policy you like.
