From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21B93C43387 for ; Tue, 15 Jan 2019 00:25:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E9C1820659 for ; Tue, 15 Jan 2019 00:25:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727425AbfAOAZU (ORCPT ); Mon, 14 Jan 2019 19:25:20 -0500 Received: from ms.lwn.net ([45.79.88.28]:38544 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726911AbfAOAZT (ORCPT ); Mon, 14 Jan 2019 19:25:19 -0500 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 3336A2E5; Tue, 15 Jan 2019 00:25:19 +0000 (UTC) Date: Mon, 14 Jan 2019 17:25:18 -0700 From: Jonathan Corbet To: Vincent Whitchurch Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, dave.hansen@linux.intel.com, Vincent Whitchurch , Matthew Wilcox Subject: Re: [PATCH] Documentation/sysctl/vm.txt: Fix drop_caches bit number Message-ID: <20190114172518.5ea0d704@lwn.net> In-Reply-To: <20190111161410.11831-1-vincent.whitchurch@axis.com> References: <20190111161410.11831-1-vincent.whitchurch@axis.com> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 11 Jan 2019 17:14:10 +0100 Vincent Whitchurch wrote: > Bits are usually numbered starting from zero, so 4 should be bit 2, not > bit 3. > > Suggested-by: Matthew Wilcox > Signed-off-by: Vincent Whitchurch > --- > 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