Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1623548

Re: [PATCH] padata: allow caller to control queue length

From Steffen Klassert <steffen.klassert@secunet.com>
Newsgroups linux.kernel
Subject Re: [PATCH] padata: allow caller to control queue length
Date 2017-04-14 10:00 +0200
Message-ID <tw4j7-6OJ-1@gated-at.bofh.it> (permalink)
References <tvJHI-18N-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] padata: allow caller to control queue length "Jason A. Donenfeld" <Jason@zx2c4.com> - 2017-04-13 12:00 +0200
  Re: [PATCH] padata: allow caller to control queue length Steffen Klassert <steffen.klassert@secunet.com> - 2017-04-14 10:00 +0200
    Re: [PATCH] padata: allow caller to control queue length "Jason A. Donenfeld" <Jason@zx2c4.com> - 2017-04-14 17:50 +0200
      Re: [PATCH] padata: allow caller to control queue length Herbert Xu <herbert@gondor.apana.org.au> - 2017-04-18 12:50 +0200

csiph-web