Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2419126yba; Mon, 22 Apr 2019 06:32:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqyj2FNQC/CMUNEuBQxz56thV2qHMZ3Ce+N86SdHZxKtlaxeJhlLDVxf6zSoebLmKBE9BcV0 X-Received: by 2002:a63:744b:: with SMTP id e11mr19054141pgn.327.1555939922246; Mon, 22 Apr 2019 06:32:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555939922; cv=none; d=google.com; s=arc-20160816; b=QFsyLUtOT1O7ZIGOWk5sAztu3o6joOkSGz7ZIg5flln983DuGmi5635I4BQA7A8wL2 R/qpGeT2ha0rFS7MdNVG7lT0ZiboUNKYJjtOXBftELZV5iPaHVhaWqdXJf8TjxVlt7vP /Qlja5u0sEshZuid4Zk1rqc51LrdycBgBKw72oE388QRqBOgISUuKXnQAtjjPdSt6GeK xnOALXaBibLHtZOvJpGvjh0FcUHOc0TBTi3n7Mfc55tri3gFzZE/3rzeoPOzoNLMRRG0 CP/TtcrlQL0jI5rvfP7zZJXhq/TJpCP+JpSwrJiDfqpuZNRk/etkTS/NvY+rXxiLOOId ajFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=uf+YWp6LVC8Rj4ZiiPTVPmdxDuhznidfVA1MG/f7Ti0=; b=xWKTay9TzbHdjl8GOFS84a6Zi5Kd/3pXdNxe/epUzJVUr/n2o+DMoN/zd6PySi1d+q LWwHgxqbU2yTjsVDz0o19qXDVTEueZbrLuDs2a7+/gQv6LEGHcIxsxBnjSUZn9//+IeV keei43VC8D3XPSF1/dM/5/sGz+lRlo6jhSzRGweka23aP0Y0o5mMGdztp9g66xZ/37KZ OmU5bUuAcpSdzFa9GPTMJkpK1FWrC6Exf4n4B+nRNpxM7KTwb13ZNK1Dk0MU+aGEJdmE iQzPxCaxGUM4I6Hs5Z/dTXUJwuR1aUhrOqVcDzIUngUYBsrkhBKNO5DLpG8NVkLkQsXe CPUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=J9IKC2kX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cn4si8849482plb.386.2019.04.22.06.31.45; Mon, 22 Apr 2019 06:32:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=J9IKC2kX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726910AbfDVN2j (ORCPT + 99 others); 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