summaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_gen.rs
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-10-21 16:16:08 +0300
committerJens Axboe <axboe@kernel.dk>2025-10-22 19:51:20 +0300
commit8ac9b0d33e5c0a995338ee5f25fe1b6ff7d97f65 (patch)
tree5313eb47ba5848ad203ad59307c05a499d075a7f /scripts/rustdoc_test_gen.rs
parent4ec703ec0c384a2199808c4eb2e9037236285a8d (diff)
downloadlinux-8ac9b0d33e5c0a995338ee5f25fe1b6ff7d97f65.tar.xz
io_uring/sqpoll: switch away from getrusage() for CPU accounting
getrusage() does a lot more than what the SQPOLL accounting needs, the latter only cares about (and uses) the stime. Rather than do a full RUSAGE_SELF summation, just query the used stime instead. Cc: stable@vger.kernel.org Fixes: 3fcb9d17206e ("io_uring/sqpoll: statistics of the true utilization of sq threads") Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/rustdoc_test_gen.rs')
0 files changed, 0 insertions, 0 deletions