* [PATCH] Documentation/sysctl/vm.txt: Fix drop_caches bit number
@ 2019-01-11 16:14 Vincent Whitchurch
2019-01-15 0:25 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Vincent Whitchurch @ 2019-01-11 16:14 UTC (permalink / raw)
To: corbet
Cc: linux-doc, linux-kernel, linux-mm, dave.hansen,
Vincent Whitchurch, Matthew Wilcox
Bits are usually numbered starting from zero, so 4 should be bit 2, not
bit 3.
Suggested-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
---
Documentation/sysctl/vm.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt
index 187ce4f599a2..6af24cdb25cc 100644
--- a/Documentation/sysctl/vm.txt
+++ b/Documentation/sysctl/vm.txt
@@ -237,7 +237,7 @@ used:
cat (1234): drop_caches: 3
These are informational only. They do not mean that anything is wrong
-with your system. To disable them, echo 4 (bit 3) into drop_caches.
+with your system. To disable them, echo 4 (bit 2) into drop_caches.
==============================================================
--
2.20.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Documentation/sysctl/vm.txt: Fix drop_caches bit number
2019-01-11 16:14 [PATCH] Documentation/sysctl/vm.txt: Fix drop_caches bit number Vincent Whitchurch
@ 2019-01-15 0:25 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2019-01-15 0:25 UTC (permalink / raw)
To: Vincent Whitchurch
Cc: linux-doc, linux-kernel, linux-mm, dave.hansen,
Vincent Whitchurch, Matthew Wilcox
On Fri, 11 Jan 2019 17:14:10 +0100
Vincent Whitchurch <vincent.whitchurch@axis.com> wrote:
> Bits are usually numbered starting from zero, so 4 should be bit 2, not
> bit 3.
>
> Suggested-by: Matthew Wilcox <willy@infradead.org>
> Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
> ---
> Documentation/sysctl/vm.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt
> index 187ce4f599a2..6af24cdb25cc 100644
> --- a/Documentation/sysctl/vm.txt
> +++ b/Documentation/sysctl/vm.txt
> @@ -237,7 +237,7 @@ used:
> cat (1234): drop_caches: 3
>
> These are informational only. They do not mean that anything is wrong
> -with your system. To disable them, echo 4 (bit 3) into drop_caches.
> +with your system. To disable them, echo 4 (bit 2) into drop_caches.
Applied, thanks.
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-15 0:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-11 16:14 [PATCH] Documentation/sysctl/vm.txt: Fix drop_caches bit number Vincent Whitchurch
2019-01-15 0:25 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).