summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-10-21 07:16:08 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-29 14:08:59 +0100
commitf8a1a583ebf1f42657848cee7683eadffd33c8cf (patch)
tree8aa1e081571d1eb07a857999bfcc2fb85bea4735 /include/net/aligned_data.h
parentea285d5700a214ffd616ce230f4688e6b747110c (diff)
io_uring/sqpoll: switch away from getrusage() for CPU accounting
Commit 8ac9b0d33e5c0a995338ee5f25fe1b6ff7d97f65 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions