[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YUCLVAJLtseHuYsW@infradead.org>
Date: Tue, 14 Sep 2021 12:45:24 +0100
From: Christoph Hellwig <hch@...radead.org>
To: Hamza Mahfooz <someguy@...ective-light.com>
Cc: linux-kernel@...r.kernel.org, Benjamin LaHaise <bcrl@...ck.org>,
Alexander Viro <viro@...iv.linux.org.uk>, linux-aio@...ck.org,
linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH] aio: convert active_reqs into a hashtable
On Tue, Sep 14, 2021 at 05:46:25AM -0400, Hamza Mahfooz wrote:
> Commit 833f4154ed56 ("aio: fold lookup_kiocb() into its sole caller")
> suggests that, the fact that active_reqs is a linked-list means aio_kiocb
> lookups in io_cancel() are inefficient. So, to get faster lookups (on
> average) while maintaining similar insertion and deletion characteristics,
> turn active_reqs into a hashtable.
What workload cares about AIO cancellation performance?
Powered by blists - more mailing lists