I've enabled cgroups on my android system, and now get lots of errors like:

W/SchedPolicy(  195): add_tid_to_cgroup failed to write '432'
(Permission denied); background=0

(For both background=0 and background=1, and for many different pids).
 I can't understand why I get this error though.

If I do "su app_20" (for example), then echo 432 > /dev/cpuctl/tasks
then this does not give any errors (although it's not added to the
list either).

I can't understand why I would be getting permission denied.  The mode
of /dev/cpuctl/tasks is 0777:

-rwxrwxrwx system   system          0 2000-01-01 13:21 tasks

Any ideas please?

John

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to