All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: LKML <linux-kernel@vger.kernel.org>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
	"devel@driverdev.osuosl.org" <devel@driverdev.osuosl.org>
Cc: Hridya Valsaraju <hridya@google.com>,
	Christian Brauner <christian.brauner@ubuntu.com>,
	Christian Brauner <christian@brauner.io>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
	Jonathan Corbet <corbet@lwn.net>
Subject: [PATCH] Documentation: android: binderfs: add 'stats' mount option
Date: Wed, 8 Apr 2020 10:29:50 -0700	[thread overview]
Message-ID: <baa0aa81-007d-af46-16a5-91fead0bd1b9@infradead.org> (raw)

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
 -------------------------
 


WARNING: multiple messages have this Message-ID
From: Randy Dunlap <rdunlap@infradead.org>
To: LKML <linux-kernel@vger.kernel.org>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
	"devel@driverdev.osuosl.org" <devel@driverdev.osuosl.org>
Cc: Jonathan Corbet <corbet@lwn.net>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
	Hridya Valsaraju <hridya@google.com>,
	Christian Brauner <christian.brauner@ubuntu.com>,
	Christian Brauner <christian@brauner.io>
Subject: [PATCH] Documentation: android: binderfs: add 'stats' mount option
Date: Wed, 8 Apr 2020 10:29:50 -0700	[thread overview]
Message-ID: <baa0aa81-007d-af46-16a5-91fead0bd1b9@infradead.org> (raw)

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

             reply	other threads:[~2020-04-08 17:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-08 17:29 Randy Dunlap [this message]
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

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=baa0aa81-007d-af46-16a5-91fead0bd1b9@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=christian.brauner@ubuntu.com \
    --cc=christian@brauner.io \
    --cc=corbet@lwn.net \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hridya@google.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: [PATCH] Documentation: android: binderfs: add '\''stats'\'' mount option' \
    /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

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.