OSDN Git Service

Lower the priority of the LazyTaskWriter thread.
authorRiley Andrews <riandrews@google.com>
Wed, 3 Jun 2015 01:24:48 +0000 (18:24 -0700)
committerRiley Andrews <riandrews@google.com>
Wed, 3 Jun 2015 18:13:18 +0000 (18:13 +0000)
commitf16c2e8b67e39f4fa49f94d138da02431188d352
treef33f85cffa670daf49fe48fc1641a18f47a788fa
parente7934a6576187486e6474aba28b14001afd7422c
Lower the priority of the LazyTaskWriter thread.

This worker thread shouldn't be prioritized at the same level as user
tasks, preemptions of ui threads may result. Additionally, if we lower
its priority level, it will be scheduled on more efficient cores
in big little systems.

Change-Id: I49a7df6fb43d6c067aeacf9ff0cbd5477cb42f7d
services/core/java/com/android/server/am/TaskPersister.java