From: nayna@linux.vnet.ibm.com (Nayna Jain) Date: Thu, 10 May 2018 18:11:50 +0530 Subject: [PATCH v3 1/2] tpm: reduce poll sleep time in tpm_transmit() In-Reply-To: References: <20180507160733.8817-1-nayna@linux.vnet.ibm.com> <20180507160733.8817-2-nayna@linux.vnet.ibm.com> Message-ID: <107cd9f7-69a3-dbb8-1a61-541172832a0c@linux.vnet.ibm.com> To: linux-security-module@vger.kernel.org List-Id: linux-security-module.vger.kernel.org On 05/08/2018 10:04 PM, J Freyensee wrote: > >> ????????? do { >> -??????????? tpm_msleep(TPM_POLL_SLEEP); >> +??????????? tpm_msleep(TPM_TIMEOUT_POLL); >> > I'm just curious why it was decided to still use tpm_msleep() here > instead of usleep_range() which was used in the 2nd patch. TPM_TIMEOUT_POLL is in msec i.e. 1 msec and usleep_range() is used only when timeout is needed in usecs. > > Otherwise, > > Acked-by: Jay Freyensee Thanks !! Thanks & Regards, ??? - Nayna -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html