Thread (13 messages) flat view 13 messages, 3 authors, 2018-03-06

Re: [PATCH 2/3] tpm: reduce poll sleep time between send() and recv() in tpm_transmit()

From: Jarkko Sakkinen <hidden>
Date: 2018-03-01 09:22:53
Also in: linux-security-module, lkml

On Wed, Feb 28, 2018 at 02:18:27PM -0500, Nayna Jain wrote:
In tpm_transmit, after send(), the code checks for status in a loop
Maybe cutting hairs now but please just use the actual function name
instead of send(). Just makes the commit log more useful asset.
-		tpm_msleep(TPM_TIMEOUT);
+		tpm_msleep(TPM_TIMEOUT_POLL);
What about just calling schedule()?

/Jarkko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help