lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AM6PR0202MB3382504BD486ABC59A5D235FB8C80@AM6PR0202MB3382.eurprd02.prod.outlook.com>
Date:   Thu, 18 Jul 2019 08:52:46 +0000
From:   Omer Shpigelman <oshpigelman@...ana.ai>
To:     Oded Gabbay <oded.gabbay@...il.com>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Tomer Tayar <ttayar@...ana.ai>
CC:     "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
Subject: RE: [PATCH] habanalabs: cap simulator timeout

From: Oded Gabbay <oded.gabbay@...il.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@...il.com>

Reviewed-by: Omer Shpigelman <oshpigelman@...ana.ai>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ