Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3242178ybd; Fri, 28 Jun 2019 05:23:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqwlFIUKltKh6xMApwWEtD+S67POLL8qy9DzUMhpuz2LKs2m4p8XsG9LYIdq2qh9R+Z+MP0u X-Received: by 2002:a17:90a:d14a:: with SMTP id t10mr12892985pjw.85.1561724611711; Fri, 28 Jun 2019 05:23:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561724611; cv=none; d=google.com; s=arc-20160816; b=iRaUSoNZBgUOd5yfhE+4Xcyfb/RWHMMP2h1xiT+dog/w9VUhTKISdD/gnqizIKOm9P hzAQ3l4lGfF7fwwD3cdbOrDcw8VFVtFFIz4Z5ZssUozYNiu7LDN9Ehgz5Tx6NtXTu4Pn sknA9lW5+RK2XY2Rq9V0hsCk8RAEw7C+XIvlfyzB/4iB4Fj6fQzMpUTTb6fRqk1eY0t5 e84fCnIxcINNfI9XqSjeLSRoC7JVc1vf/Y7KtBz3jhb0tTHpQcGQ1r3qTB1mBqODkH3p ZZdnTheUUJl8l8qZVAShP4vgTfiqv2vyuQBI5i45bferbsX9+sd4IxACKC5AxdzVn58P wtcw== 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=kIG3TqTXNYXrXjWMuxoIyxE0UnlHCYqdcFqGb4s7JWQ=; b=qSzjioZwWGUc2RBP6hhV10++IyUbmKfkp3I2smvCSn6zyrR8YXBkTbXU3M0Qoey9qS AyESdhke46ym68wON7PKwaAcg0SZFEQxu5LxPnjG3ym47Dgb6FiHYiG0twAATesJCGDG Bt4DoTKFZacWaa5LZMUn6ST+m0EBt3Uin59bcJ1OKEApPXcVxMHaeplqev7pPe2wiHG4 hQ5OlvORXcp5cN8uqb5J4g0P726viBxvqe3XHhDX3jkllV7//uAIk2WNoppWgwTVucHh byiMIyP/vy3wONrTtPS+Z11mx6+pALT5vkUuv/gck+trcPpCLjzFHjaU/zhjk6ul17js w+1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=sSP80poT; 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 p125si2401082pfp.35.2019.06.28.05.23.15; Fri, 28 Jun 2019 05:23:31 -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=sSP80poT; 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 S1726837AbfF1MUr (ORCPT + 99 others); Fri, 28 Jun 2019 08:20:47 -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