All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Documentation: android: binderfs: add 'stats' mount option
@ 2020-04-08 17:29 ` Randy Dunlap
  0 siblings, 0 replies; 6+ messages in thread
From: Randy Dunlap @ 2020-04-08 17:29 UTC (permalink / raw)
  To: LKML, linux-doc, devel
  Cc: Hridya Valsaraju, Christian Brauner, Christian Brauner,
	Greg Kroah-Hartman, linux-doc, Jonathan Corbet

From: Randy Dunlap <rdunlap@infradead.org>

Add documentation of the binderfs 'stats' mount option.

Description taken from the commit message.

Fixes: f00834518ed3 ("binder: add a mount option to show global stats")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Hridya Valsaraju <hridya@google.com>
Cc: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Christian Brauner <christian@brauner.io>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: devel@driverdev.osuosl.org
---
 Documentation/admin-guide/binderfs.rst |    6 ++++++
 1 file changed, 6 insertions(+)

--- linux-next-20200408.orig/Documentation/admin-guide/binderfs.rst
+++ linux-next-20200408/Documentation/admin-guide/binderfs.rst
@@ -33,6 +33,12 @@ max
   a per-instance limit. If ``max=<count>`` is set then only ``<count>`` number
   of binder devices can be allocated in this binderfs instance.
 
+stats
+  Using ``stats=global`` enables global binder statistics.
+  ``stats=global`` is only available for a binderfs instance mounted in the
+  initial user namespace. An attempt to use the option to mount a binderfs
+  instance in another user namespace will return a permission error.
+
 Allocating binder Devices
 -------------------------
 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] Documentation: android: binderfs: add 'stats' mount option
@ 2020-04-08 17:29 ` Randy Dunlap
  0 siblings, 0 replies; 6+ messages in thread
From: Randy Dunlap @ 2020-04-08 17:29 UTC (permalink / raw)
  To: LKML, linux-doc, devel
  Cc: Jonathan Corbet, Greg Kroah-Hartman, linux-doc, Hridya Valsaraju,
	Christian Brauner, Christian Brauner

From: Randy Dunlap <rdunlap@infradead.org>

Add documentation of the binderfs 'stats' mount option.

Description taken from the commit message.

Fixes: f00834518ed3 ("binder: add a mount option to show global stats")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Hridya Valsaraju <hridya@google.com>
Cc: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Christian Brauner <christian@brauner.io>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: devel@driverdev.osuosl.org
---
 Documentation/admin-guide/binderfs.rst |    6 ++++++
 1 file changed, 6 insertions(+)

--- linux-next-20200408.orig/Documentation/admin-guide/binderfs.rst
+++ linux-next-20200408/Documentation/admin-guide/binderfs.rst
@@ -33,6 +33,12 @@ max
   a per-instance limit. If ``max=<count>`` is set then only ``<count>`` number
   of binder devices can be allocated in this binderfs instance.
 
+stats
+  Using ``stats=global`` enables global binder statistics.
+  ``stats=global`` is only available for a binderfs instance mounted in the
+  initial user namespace. An attempt to use the option to mount a binderfs
+  instance in another user namespace will return a permission error.
+
 Allocating binder Devices
 -------------------------
 

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Documentation: android: binderfs: add 'stats' mount option
  2020-04-08 17:29 ` Randy Dunlap
@ 2020-04-08 19:08   ` Christian Brauner
  -1 siblings, 0 replies; 6+ messages in thread
From: Christian Brauner @ 2020-04-08 19:08 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: LKML, linux-doc, devel, Hridya Valsaraju, Christian Brauner,
	Greg Kroah-Hartman, Jonathan Corbet

On Wed, Apr 08, 2020 at 10:29:50AM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> Add documentation of the binderfs 'stats' mount option.
> 
> Description taken from the commit message.
> 
> Fixes: f00834518ed3 ("binder: add a mount option to show global stats")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Hridya Valsaraju <hridya@google.com>
> Cc: Christian Brauner <christian.brauner@ubuntu.com>
> Cc: Christian Brauner <christian@brauner.io>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: devel@driverdev.osuosl.org

Thanks!
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Documentation: android: binderfs: add 'stats' mount option
@ 2020-04-08 19:08   ` Christian Brauner
  0 siblings, 0 replies; 6+ messages in thread
From: Christian Brauner @ 2020-04-08 19:08 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: devel, linux-doc, Greg Kroah-Hartman, Jonathan Corbet, LKML,
	Hridya Valsaraju, Christian Brauner

On Wed, Apr 08, 2020 at 10:29:50AM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> Add documentation of the binderfs 'stats' mount option.
> 
> Description taken from the commit message.
> 
> Fixes: f00834518ed3 ("binder: add a mount option to show global stats")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Hridya Valsaraju <hridya@google.com>
> Cc: Christian Brauner <christian.brauner@ubuntu.com>
> Cc: Christian Brauner <christian@brauner.io>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: devel@driverdev.osuosl.org

Thanks!
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Documentation: android: binderfs: add 'stats' mount option
  2020-04-08 19:08   ` Christian Brauner
@ 2020-04-10 16:15     ` Jonathan Corbet
  -1 siblings, 0 replies; 6+ messages in thread
From: Jonathan Corbet @ 2020-04-10 16:15 UTC (permalink / raw)
  To: Christian Brauner
  Cc: Randy Dunlap, LKML, linux-doc, devel, Hridya Valsaraju,
	Christian Brauner, Greg Kroah-Hartman

On Wed, 8 Apr 2020 21:08:09 +0200
Christian Brauner <christian.brauner@ubuntu.com> wrote:

> On Wed, Apr 08, 2020 at 10:29:50AM -0700, Randy Dunlap wrote:
> > From: Randy Dunlap <rdunlap@infradead.org>
> > 
> > Add documentation of the binderfs 'stats' mount option.
> > 
> > Description taken from the commit message.
> > 
> > Fixes: f00834518ed3 ("binder: add a mount option to show global stats")
> > Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> > Cc: Hridya Valsaraju <hridya@google.com>
> > Cc: Christian Brauner <christian.brauner@ubuntu.com>
> > Cc: Christian Brauner <christian@brauner.io>
> > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> > Cc: devel@driverdev.osuosl.org  
> 
> Thanks!
> Acked-by: Christian Brauner <christian.brauner@ubuntu.com>

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Documentation: android: binderfs: add 'stats' mount option
@ 2020-04-10 16:15     ` Jonathan Corbet
  0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Corbet @ 2020-04-10 16:15 UTC (permalink / raw)
  To: Christian Brauner
  Cc: devel, linux-doc, Greg Kroah-Hartman, LKML, Hridya Valsaraju,
	Christian Brauner

On Wed, 8 Apr 2020 21:08:09 +0200
Christian Brauner <christian.brauner@ubuntu.com> wrote:

> On Wed, Apr 08, 2020 at 10:29:50AM -0700, Randy Dunlap wrote:
> > From: Randy Dunlap <rdunlap@infradead.org>
> > 
> > Add documentation of the binderfs 'stats' mount option.
> > 
> > Description taken from the commit message.
> > 
> > Fixes: f00834518ed3 ("binder: add a mount option to show global stats")
> > Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> > Cc: Hridya Valsaraju <hridya@google.com>
> > Cc: Christian Brauner <christian.brauner@ubuntu.com>
> > Cc: Christian Brauner <christian@brauner.io>
> > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> > Cc: devel@driverdev.osuosl.org  
> 
> Thanks!
> Acked-by: Christian Brauner <christian.brauner@ubuntu.com>

Applied, thanks.

jon
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-04-10 16:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-08 17:29 [PATCH] Documentation: android: binderfs: add 'stats' mount option Randy Dunlap
2020-04-08 17:29 ` Randy Dunlap
2020-04-08 19:08 ` Christian Brauner
2020-04-08 19:08   ` Christian Brauner
2020-04-10 16:15   ` Jonathan Corbet
2020-04-10 16:15     ` Jonathan Corbet

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.