> On Nov 12, 2020, at 4:07 PM, Bruce Fields <bfie...@fieldses.org> wrote: > > On Thu, Nov 12, 2020 at 04:54:06PM +0000, David Howells wrote: >> Chuck Lever <chuck.le...@oracle.com> wrote: >> >>> Really? My understanding of the Linux kernel SUNRPC implementation is >>> that it uses asynchronous, even for small data items. Maybe I'm using >>> the terminology incorrectly. >> >> Seems to be synchronous, at least in its use of skcipher: > > Yes, it's all synchronous. The only cases where we defer and revisit a > request is when we need to do upcalls to userspace. > > (And those upcalls mostly come after we're done with unwrapping and > verifying a request, so now I'm sort of curious exactly what Chuck was > seeing.) I vaguely recall that setting CRYPTO_TFM_REQ_MAY_SLEEP allows the crypto API to sleep and defer completion. -- Chuck Lever
- [PATCH 17/18] rxrpc: rxgk: Implement connection rekeying David Howells
- [PATCH 07/18] crypto/krb5: Implement the AES enctypes from... David Howells
- [PATCH 03/18] crypto/krb5: Provide infrastructure and key ... David Howells
- [PATCH 18/18] rxgk: Support OpenAFS's rxgk implementation David Howells
- Re: [RFC][PATCH 00/18] crypto: Add generic Kerberos librar... David Howells
- Re: [RFC][PATCH 00/18] crypto: Add generic Kerberos librar... Chuck Lever
- Re: [RFC][PATCH 00/18] crypto: Add generic Kerberos librar... David Howells
- Re: [RFC][PATCH 00/18] crypto: Add generic Kerberos l... Chuck Lever
- Re: [RFC][PATCH 00/18] crypto: Add generic Kerberos l... David Howells
- Re: [RFC][PATCH 00/18] crypto: Add generic Kerber... Bruce Fields
- Re: [RFC][PATCH 00/18] crypto: Add generic Ke... Chuck Lever
- Re: [RFC][PATCH 00/18] crypto: Add generic Kerberos librar... J. Bruce Fields