[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170414075711.GJ12763@secunet.com>
Date: Fri, 14 Apr 2017 09:57:12 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: "Jason A. Donenfeld" <Jason@...c4.com>
CC: <linux-crypto@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] padata: allow caller to control queue length
On Thu, Apr 13, 2017 at 11:52:13AM +0200, Jason A. Donenfeld wrote:
> Allow users of padata to determine the queue length themselves, via this
> added helper function, so that we can later remove the hard-coded 1000-
> job limit. We thus add a helper function, and then move the limiting
> functionality to pcrypt-proper, since it was the only current consumer
> relying on the 1000-job limit. We do, however, impose a limit on padata
> so that the reference count does not have an integer overflow.
>
> Signed-off-by: Jason A. Donenfeld <Jason@...c4.com>
Why do we need this? As long as we don't have a user that needs a
different limit, this patch adds just some useless code.
Powered by blists - more mailing lists