CGroups - add_tid_to_cgroup failed to write

Showing 1-1 of 1 messages
CGroups - add_tid_to_cgroup failed to write John Tapsell 10/4/12 11:46 AM
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