lkml.org 
[lkml]   [2019]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] habanalabs: cap simulator timeout
Date
From: Oded Gabbay <oded.gabbay@gmail.com>
Sent: Thursday, 18 July 2019 11:48

> In the driver timeout functions, we give the simulator a factor of 10 in the
> timeout. This was necessary when the requested timeout is small but if it
> was a few seconds, this can result in a very large timeout which is
> unnecessary.
>
> This patch caps the maximum timeout of the simulator to 10 seconds, which
> is our largest timeout in the code. That is more then enough for anything the
> simulator is doing.
>
> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>

Reviewed-by: Omer Shpigelman <oshpigelman@habana.ai>
\
 
 \ /
  Last update: 2019-07-18 10:53    [W:0.035 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site