From: Steffen Klassert <steffen.klassert@secunet.com>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: <linux-crypto@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] padata: allow caller to control queue length
Date: Fri, 14 Apr 2017 09:57:12 +0200 [thread overview]
Message-ID: <20170414075711.GJ12763@secunet.com> (raw)
In-Reply-To: <20170413095213.23513-1-Jason@zx2c4.com>
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@zx2c4.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.
next prev parent reply other threads:[~2017-04-14 7:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-13 9:52 [PATCH] padata: allow caller to control queue length Jason A. Donenfeld
2017-04-14 7:57 ` Steffen Klassert [this message]
2017-04-14 15:44 ` Jason A. Donenfeld
2017-04-18 10:47 ` Herbert Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170414075711.GJ12763@secunet.com \
--to=steffen.klassert@secunet.com \
--cc=Jason@zx2c4.com \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox