[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <baa0aa81-007d-af46-16a5-91fead0bd1b9@infradead.org>
Date: Wed, 8 Apr 2020 10:29:50 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: LKML <linux-kernel@...r.kernel.org>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
"devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>
Cc: Hridya Valsaraju <hridya@...gle.com>,
Christian Brauner <christian.brauner@...ntu.com>,
Christian Brauner <christian@...uner.io>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
Jonathan Corbet <corbet@....net>
Subject: [PATCH] Documentation: android: binderfs: add 'stats' mount option
From: Randy Dunlap <rdunlap@...radead.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@...radead.org>
Cc: Hridya Valsaraju <hridya@...gle.com>
Cc: Christian Brauner <christian.brauner@...ntu.com>
Cc: Christian Brauner <christian@...uner.io>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: devel@...verdev.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
-------------------------
Powered by blists - more mailing lists