| From: Yixuan Cao <caoyixuan2019@email.szu.edu.cn> |
| Subject: Documentation/vm/page_owner.rst: fix comments |
| |
| There are some comments that need to be fixed. |
| |
| Thanks for Shuah Khan's constructive suggestions. The comments have been |
| fixed as follows. |
| |
| a. So, if you'd like to use it, you need |
| to add "page_owner=on" into your boot cmdline. |
| |
| Here, "into" has been replaced with "to". |
| |
| b. ...page owner is disabled in runtime due to no |
| enabling, boot option, runtime overhead is marginal. |
| |
| Here, "no" has been replaced with "not". |
| |
| Link: https://lkml.kernel.org/r/20220223134104.2663-1-caoyixuan2019@email.szu.edu.cn |
| Signed-off-by: Yixuan Cao <caoyixuan2019@email.szu.edu.cn> |
| Cc: Jonathan Corbet <corbet@lwn.net> |
| Cc: Zhenliang Wei <weizhenliang@huawei.com> |
| Cc: Georgi Djakov <georgi.djakov@linaro.org> |
| Cc: Shuah Khan <skhan@linuxfoundation.org> |
| Cc: Randy Dunlap <rdunlap@infradead.org> |
| Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
| --- |
| |
| Documentation/vm/page_owner.rst | 6 +++--- |
| 1 file changed, 3 insertions(+), 3 deletions(-) |
| |
| --- a/Documentation/vm/page_owner.rst~documentation-vm-page_ownerrst-fix-commends |
| +++ a/Documentation/vm/page_owner.rst |
| @@ -26,9 +26,9 @@ fragmentation statistics can be obtained |
| each page. It is already implemented and activated if page owner is |
| enabled. Other usages are more than welcome. |
| |
| -page owner is disabled in default. So, if you'd like to use it, you need |
| -to add "page_owner=on" into your boot cmdline. If the kernel is built |
| -with page owner and page owner is disabled in runtime due to no enabling |
| +page owner is disabled by default. So, if you'd like to use it, you need |
| +to add "page_owner=on" to your boot cmdline. If the kernel is built |
| +with page owner and page owner is disabled in runtime due to not enabling |
| boot option, runtime overhead is marginal. If disabled in runtime, it |
| doesn't require memory to store owner information, so there is no runtime |
| memory overhead. And, page owner inserts just two unlikely branches into |
| _ |