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=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,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 DC2C0C5B57B for ; Fri, 28 Jun 2019 12:22:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B0A62214DA for ; Fri, 28 Jun 2019 12:22:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561724543; bh=6hWCXccZfaSsbUWzVC0OKlLah4pXQdi91y3PPQS4KMA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=mNIkPuz+zDpy3C4sXL5Tc11cSF8jgh+7v8SnlmFcqPrz923D7ssk7fK2vF0tSHZV7 FmXKiCqo7Q6qKbtwLqvQ94m9SFTPnaf+04IGHe4qx1YLsWP48iK9k5G257yn5dXvUv O8D3kdpc3JPZBk4b2jYMqt3lcZal1aM9AZIinM3s= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726860AbfF1MUs (ORCPT ); Fri, 28 Jun 2019 08:20:48 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:58686 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726606AbfF1MUn (ORCPT ); Fri, 28 Jun 2019 08:20:43 -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=kIG3TqTXNYXrXjWMuxoIyxE0UnlHCYqdcFqGb4s7JWQ=; b=sSP80poT1CgsIlZcHU1dKMPBpt ZnOY5FpCEIJqQPqhmh50HrmypxoogQcnrXg1jmZlP0NLgRLZPD2v6QDEExxdwdmOZ2UppO4xwY3BU y+d36KVjq9TaFUxJIpQfcCFSS4vi7XriBjlzecwZiE6OSe+ypknmQQdO77o2tXF/bdj+uYG1R71C1 R8yC7BJSyqO1EleAlbWs0G7IAx+fcouQmK2RO0xecs9ILRO3xenSdiFngN9dHAP2u+FWJ/L+xYCSV g0dqAEsTZSnLk+98SMbwesAdTQCox4RjNAhazDhED3Uzs98XweUeJeBEo1W32rSjdCIBPDCmlrqSq pCPM+toQ==; Received: from [186.213.242.156] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hgprv-00009x-6q; Fri, 28 Jun 2019 12:20:43 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hgprt-00057a-9t; Fri, 28 Jun 2019 09:20:41 -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 10/43] docs: cma/debugfs.txt: convert docs to ReST and rename to *.rst Date: Fri, 28 Jun 2019 09:20:06 -0300 Message-Id: X-Mailer: git-send-email 2.21.0 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.21.0