linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers@kernel.org>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Harald Freudenberger <freude@linux.ibm.com>,
	davem@davemloft.net, dengler@linux.ibm.com,
	linux-s390@vger.kernel.org, linux-crypto@vger.kernel.org
Subject: Re: [PATCH v10 2/5] s390/crypto: New s390 specific protected key hash phmac
Date: Mon, 10 Feb 2025 08:32:46 -0800	[thread overview]
Message-ID: <20250210163246.GD1264@sol.localdomain> (raw)
In-Reply-To: <Z6mxZ8lfO6zzD7x0@gondor.apana.org.au>

On Mon, Feb 10, 2025 at 03:57:27PM +0800, Herbert Xu wrote:
> On Sun, Feb 09, 2025 at 08:34:30AM -0800, Eric Biggers wrote:
> >
> > Or just make it synchronous which would be way easier, and the calling code uses
> > it synchronously anyway.
> 
> Note that synchronous in general does not make the problem go away.
> The important thing here is to give congestion feedback in the form
> of EBUSY which tells the user to stop generating more data until a
> callback is made.
> 
> While synchronous can be a form of congestion control by requiring
> an extra thread for each waiting request, it doesn't really give
> that feedback to the upper level.
> 

Which is of course entirely theoretical, given that the proposed user waits
synchronously for each request to complete anyway.  And hardly anyone wants to
do otherwise since it is way too much of a pain.

- Eric

  reply	other threads:[~2025-02-10 16:32 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-15 16:22 New s390 specific protected key hmac Harald Freudenberger
2025-01-15 16:22 ` [PATCH v10 1/5] s390/crypto: Add protected key hmac subfunctions for KMAC Harald Freudenberger
2025-01-15 16:22 ` [PATCH v10 2/5] s390/crypto: New s390 specific protected key hash phmac Harald Freudenberger
2025-02-09  8:47   ` Herbert Xu
2025-02-09 16:34     ` Eric Biggers
2025-02-10  7:57       ` Herbert Xu
2025-02-10 16:32         ` Eric Biggers [this message]
2025-02-10 23:14           ` Herbert Xu
2025-02-12 11:17       ` Harald Freudenberger
2025-02-12 15:20         ` Eric Biggers
2025-02-13  4:08         ` Herbert Xu
2025-02-11 12:09   ` Harald Freudenberger
2025-02-11 15:31     ` Eric Biggers
2025-02-12  3:19     ` Herbert Xu
2025-02-12  3:23       ` Herbert Xu
2025-02-12  3:32         ` Eric Biggers
2025-02-22  8:23           ` Herbert Xu
2025-01-15 16:22 ` [PATCH v10 3/5] crypto: api - Add crypto_tfm_alg_get_flags() helper inline function Harald Freudenberger
2025-01-15 16:22 ` [PATCH v10 4/5] s390/crypto: Add selftest support for phmac Harald Freudenberger
2025-01-15 16:22 ` [PATCH v10 5/5] crypto: testmgr - Enable phmac selftest Harald Freudenberger

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=20250210163246.GD1264@sol.localdomain \
    --to=ebiggers@kernel.org \
    --cc=davem@davemloft.net \
    --cc=dengler@linux.ibm.com \
    --cc=freude@linux.ibm.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-s390@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;
as well as URLs for NNTP newsgroup(s).