lkml.org 
[lkml]   [2019]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 9/9 v2] habanalabs: allow multiple processes to open FD
On Sun, Jul 28, 2019 at 03:48:12PM +0300, Oded Gabbay wrote:
> This patch removes the limitation of a single process that can open the
> device.
>
> Now, there is no limitation on the number of processes that can open the
> device and have a valid FD.
>
> However, only a single process can perform compute operations. This is
> enforced by allowing only a single process to have a compute context.
>
> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
> ---
> Changes in v2:
> - Replace WARN with dev_crit

Looks good, thanks. The other patches in the series looked fine at
first glance as well

greg k-h

\
 
 \ /
  Last update: 2019-07-28 15:19    [W:0.108 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site