OSDN Git Service

Reset binder service threads' cgroup/priority after command completion
authorChristopher Tate <ctate@android.com>
Sun, 8 Nov 2009 22:29:02 +0000 (14:29 -0800)
committerChristopher Tate <ctate@android.com>
Sun, 8 Nov 2009 22:29:02 +0000 (14:29 -0800)
commit1dacdd482894bee9fbc1993cbb525fb800750222
tree1d60f5999e6217165b7d72d01a24b00584c9af43
parent3f857b78fc68e5d700139bdc6078c5333b62a9bc
Reset binder service threads' cgroup/priority after command completion

To prevent buggy command implementations from poisoning binder threads'
scheduling class & priority for future command execution, we now reset the
cgroup and thread priority to foreground/normal when a binder service thread
finishes executing the designated command.

Change-Id: Ibc0ab2485751453f6dc96fdb4eb877fd02796e3f
libs/binder/IPCThreadState.cpp