OSDN Git Service

Documentation: android: binderfs: add 'stats' mount option
authorRandy Dunlap <rdunlap@infradead.org>
Wed, 8 Apr 2020 17:29:50 +0000 (10:29 -0700)
committerJonathan Corbet <corbet@lwn.net>
Fri, 10 Apr 2020 16:14:53 +0000 (10:14 -0600)
Add documentation of the binderfs 'stats' mount option.

Description taken from the commit message.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/baa0aa81-007d-af46-16a5-91fead0bd1b9@infradead.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/admin-guide/binderfs.rst

index c009671..8243af9 100644 (file)
@@ -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
 -------------------------