aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorNathan Huckleberry <[email protected]>2023-03-10 11:33:25 -0800
committerEric Biggers <[email protected]>2023-03-14 16:16:36 -0700
commitf959325e6ac3f499450088b8d9c626d1177be160 (patch)
tree13094210ae796bacada3f6d2410b50512037a4ea /tools/testing/selftests/bpf/progs/test_autoload.c
parenteeac8ede17557680855031c6f305ece2378af326 (diff)
fsverity: Remove WQ_UNBOUND from fsverity read workqueue
WQ_UNBOUND causes significant scheduler latency on ARM64/Android. This is problematic for latency sensitive workloads, like I/O post-processing. Removing WQ_UNBOUND gives a 96% reduction in fsverity workqueue related scheduler latency and improves app cold startup times by ~30ms. WQ_UNBOUND was also removed from the dm-verity workqueue for the same reason [1]. This code was tested by running Android app startup benchmarks and measuring how long the fsverity workqueue spent in the runnable state. Before Total workqueue scheduler latency: 553800us After Total workqueue scheduler latency: 18962us [1]: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Nathan Huckleberry <[email protected]> Fixes: 8a1d0f9cacc9 ("fs-verity: add data verification hooks for ->readpages()") Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions