View Single Post
Posts: 1,101 | Thanked: 1,185 times | Joined on Aug 2008 @ Spain
#5271
Originally Posted by mr_jrt View Post
Linux performance tuning isn't an area in which I have a great deal of expertise, but is there a way to set an application's pages to always be held resident, other than making it un-nice?
The application can request to make part of its memory area locked in RAM (man 2 mlock), which most probably the phone application already does.
It also seems that since 2.6.29 the kernel includes swappiness control for a cgroup (memory.swappiness), but there are patches for 2.6.24.
Unfortunately, the current kernel for the N900 doesn't include swappiness control in cgroups.
 

The Following 2 Users Say Thank You to maacruz For This Useful Post: