aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2023-11-22 18:42:53 -0500
committerChristian Brauner <[email protected]>2023-11-28 14:08:46 +0100
commit71eb6b6b0ba93b1467bccff57b5de746b09113d2 (patch)
tree50d8617b7f3cc91869e92507787303e110635722 /tools/testing/selftests/bpf/prog_tests/autoload.c
parentb7638ad0c7802ea854599ce753d0e6d20690f7e2 (diff)
fs/aio: obey min_nr when doing wakeups
I've been observing workloads where IPIs due to wakeups in aio_complete() are ~15% of total CPU time in the profile. Most of those wakeups are unnecessary when completion batching is in use in io_getevents(). This plumbs min_nr through via the wait eventry, so that aio_complete() can avoid doing unnecessary wakeups. Signed-off-by: Kent Overstreet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: Benjamin LaHaise <[email protected]> Cc: Christian Brauner <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions