All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomer Tayar <ttayar@habana.ai>
To: Oded Gabbay <oded.gabbay@gmail.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Omer Shpigelman <oshpigelman@habana.ai>
Cc: "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>
Subject: RE: [PATCH] habanalabs: use correct variable to show fd open counter
Date: Mon, 8 Jul 2019 11:08:44 +0000	[thread overview]
Message-ID: <VI1PR02MB3054A333A1B5D22EE2F4DD64D2F60@VI1PR02MB3054.eurprd02.prod.outlook.com> (raw)
In-Reply-To: <20190708104355.32569-1-oded.gabbay@gmail.com>

From: Oded Gabbay <oded.gabbay@gmail.com>
Sent: Monday, 8 July 2019 13:44

> The current code checks if the user context pointer is NULL or not to
> display the number of open file descriptors of a device. However, that
> variable (user_ctx) will eventually go away as the driver will support
> multiple processes. Instead, the driver can use the atomic counter of
> the open file descriptors which the driver already maintains.
> 
> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>

Reviewed-by: Tomer Tayar <ttayar@habana.ai>

  reply	other threads:[~2019-07-08 11:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-08 10:43 [PATCH] habanalabs: use correct variable to show fd open counter Oded Gabbay
2019-07-08 11:08 ` Tomer Tayar [this message]
2019-07-08 11:21 ` Greg KH
2019-07-08 11:30   ` Oded Gabbay
2019-07-08 11:37     ` Oded Gabbay
2019-07-08 12:21       ` Greg KH
2019-07-08 11:42     ` Greg KH
2019-07-08 11:51       ` Oded Gabbay
2019-07-08 12:20         ` Greg KH
2019-07-08 14:28           ` Oded Gabbay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=VI1PR02MB3054A333A1B5D22EE2F4DD64D2F60@VI1PR02MB3054.eurprd02.prod.outlook.com \
    --to=ttayar@habana.ai \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oded.gabbay@gmail.com \
    --cc=oshpigelman@habana.ai \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.