OSDN Git Service

Actively mangage EAS schedtune nodes
authorTodd Kjos <tkjos@google.com>
Mon, 16 Nov 2015 23:49:50 +0000 (15:49 -0800)
committerTodd Kjos <tkjos@google.com>
Wed, 18 Nov 2015 20:43:31 +0000 (12:43 -0800)
Move foreground tasks to /sys/fs/cgroup/stune/boost/tasks (boosted
weight in EAS scheduler). Move background tasks to
/sys/fs/cgroup/stune/tasks (default weight). For services started
with init, set "foreground" services to boosted.

Change-Id: I0e489fad9510727c13e6754dabaf311c2391f395

services/surfaceflinger/surfaceflinger.rc

index eb9bd25..1d6e20f 100644 (file)
@@ -3,4 +3,4 @@ service surfaceflinger /system/bin/surfaceflinger
     user system
     group graphics drmrpc readproc
     onrestart restart zygote
-    writepid /dev/cpuset/system-background/tasks
+    writepid /dev/cpuset/system-background/tasks /sys/fs/cgroup/stune/foreground/tasks