Commit 90e9d06f authored by Brandon Anderson's avatar Brandon Anderson
Browse files

ANDROID: Use kthread for trusty work instead of wq



Per CPU, create a kthread with a wait queue to pause it when
there is no work to do. Instead of adding work to work queue,
wake the wait queue for the current cpu so that the work can
be completed.

For now, the thread priority follows the use_high_wq flag as
before: either normal or elevated.

Bug: 260139140
Signed-off-by: default avatarBrandon Anderson <bander9289@gmail.com>
Change-Id: I913c64d598f87e7c005f6702714c599da5a06da2
parent 360f068d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment