Re: Very slow SYS_io_destroy()

From: Jeff Moyer
Date: Mon Jul 23 2018 - 11:13:42 EST


Alex Richman <alex.r@xxxxxxxxxxxx> writes:

> Hi,
>
> I'm seeing some weirdness with AIO, specifically SYS_io_destroy() is
> taking upwards of ~100000 microseconds (~100 miliseconds) per call.
> How long is that call expected to take? I can see from the source

Well, it waits for an RCU grace period. I would not expect that to take
100ms, though. What kernel version is this?

-Jeff