diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-01-18 08:23:40 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-08-28 21:18:13 -0400 |
commit | 231dabcd3bc025a1c90dccecb7a998cc2b5b98e1 (patch) | |
tree | a4abb599623223146fb94be06548c9a9505ed4d8 /lib/test-string_helpers.c | |
parent | af19ba832cfeaed0610436c7c1f2f3ad01d5750b (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 <kent.overstreet@linux.dev>
Cc: Benjamin LaHaise <bcrl@kvack.org
Cc: linux-aio@kvack.org
Cc: linux-fsdevel@vger.kernel.org
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions