lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <7H1WZQ.H8D3XK8HUSNQ3@effective-light.com>
Date:   Thu, 23 Sep 2021 09:00:43 -0400
From:   Hamza Mahfooz <someguy@...ective-light.com>
To:     Benjamin LaHaise <bcrl@...ck.org>
Cc:     linux-kernel@...r.kernel.org,
        kernel test robot <yujie.liu@...el.com>,
        Alexander Viro <viro@...iv.linux.org.uk>,
        linux-fsdevel@...r.kernel.org, linux-aio@...ck.org
Subject: Re: [PATCH v2] aio: convert active_reqs into a hashtable



On Sun, Sep 19 2021 at 10:56:45 AM -0400, Benjamin LaHaise 
<bcrl@...ck.org> wrote:
> You're doing this wrong.  If you want faster cancellations, stash an 
> index
> into iocb->aio_key to index into an array with all requests rather 
> than
> using a hash table.

Would that not mean that, we would have to keep track of the indices of 
the
array that are not being held by an `aio_kiocb`?


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ