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=-9.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,USER_AGENT_GIT 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 C4462C282E5 for ; Mon, 22 Apr 2019 13:29:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9614D214AE for ; Mon, 22 Apr 2019 13:29:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555939753; bh=NqIZ4h/h3MTTkzq9ECOGGI9a1liMkjbcMXFXUI3SBP8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=EjzFatdc1LgeTHFnS4zGNUwP7jm+d0nMkTHFw6DuqAouOPFaaQ9rUEr7MVF8GOg03 rHukb0cEgPGggQ14QzyC34h+S51UaKaCKWPsz2ckMOFYvEaPq+jW9ujhTymnN30LQu 4evRe3/Vdco3pBuvL7KxI2MMquNVpckriISeURcI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727789AbfDVN2j (ORCPT ); Mon, 22 Apr 2019 09:28:39 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:37722 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727551AbfDVN2U (ORCPT ); Mon, 22 Apr 2019 09:28:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=uf+YWp6LVC8Rj4ZiiPTVPmdxDuhznidfVA1MG/f7Ti0=; b=J9IKC2kX8Ux9fSOvKD5kTPe7Gv 1wgLBC16bYalsgseTfUcbostfS8JGk01hl5tHf0S4mIFUo5Ts2q7ieJC5tkBaZaaWg708v90SVBaZ g3RmiGxF/VRQaJsiv2b9Rz2+MLk4o5HoGEcyJ5B/71z/fESEi2augFkIcRmNpcoP3uQrmvAIvAjf7 NP9PAYjIn3h7kcbfeRsbRTrUbzHWcm23Pz3eL8Q8tIqqZfmQL8Objk2bqcoKu/o3Tii289eb1YXYO xP9MkQz79hKKxYWwbljtjxYRr4o4OraFHUT/kP9r7RIzfgoYKZkREhBcPbXlbAwYWs/ofBHHKvdrp 8QBYckww==; Received: from 179.176.125.229.dynamic.adsl.gvt.net.br ([179.176.125.229] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hIYzb-0005Hc-B0; Mon, 22 Apr 2019 13:28:19 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hIYzT-0005n2-J2; Mon, 22 Apr 2019 10:28:11 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: [PATCH v2 44/79] docs: cma/debugfs.txt: convert docs to ReST and rename to *.rst Date: Mon, 22 Apr 2019 10:27:33 -0300 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The debugfs interface for CMA should be there together with other mm-related documents. Convert this small file to ReST and move it to its rightful place. The conversion is actually quite simple: just add a title for the document. In order to make it to look better for the audience, also mark the "echo" command as a literal block. While this is not part of any book, mark it as :orphan:, in order to avoid build warnings. Signed-off-by: Mauro Carvalho Chehab --- Documentation/cma/{debugfs.txt => debugfs.rst} | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) rename Documentation/cma/{debugfs.txt => debugfs.rst} (91%) diff --git a/Documentation/cma/debugfs.txt b/Documentation/cma/debugfs.rst similarity index 91% rename from Documentation/cma/debugfs.txt rename to Documentation/cma/debugfs.rst index 6cef20a8cedc..518fe401b5ee 100644 --- a/Documentation/cma/debugfs.txt +++ b/Documentation/cma/debugfs.rst @@ -1,3 +1,9 @@ +:orphan: + +===================== +CMA Debugfs Interface +===================== + The CMA debugfs interface is useful to retrieve basic information out of the different CMA areas and to test allocation/release in each of the areas. @@ -12,7 +18,7 @@ The structure of the files created under that directory is as follows: - [RO] count: Amount of memory in the CMA area. - [RO] order_per_bit: Order of pages represented by one bit. - [RO] bitmap: The bitmap of page states in the zone. - - [WO] alloc: Allocate N pages from that CMA area. For example: + - [WO] alloc: Allocate N pages from that CMA area. For example:: echo 5 > /cma/cma-2/alloc -- 2.20.1