ANDROID: trusty: Use high priority check WQ and regular nop WQ
Moving work items across different WQ invalidates non-reentrancy
guarantees.
So instead of having different WQs at different priorities, we only
maintain one WQ. High priority WQ for check work, and non-high priority
WQ for nop work.
Keep trusty-virtio "use_high_wq" toggle for user space compatibility.
Bug: 231003163
Test: echo 0 > /sys/module/trusty_core/parameters/use_high_wq
time /data/nativetest64/vendor/tipc-test/tipc-test -t echo -r 10000
Times do not regress.
Change-Id: I54b60cb370ffb727d2f56e28932c9ab841bd8366
Signed-off-by: Tri Vo <trong@google.com>
2 files changed