Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3090165yba; Tue, 16 Apr 2019 04:38:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVoVFHab1V1O5SwMoNKI3y3Dw8gHHo+T3lQL2AGa43ykAw71cdrN+61AqvA04aGzYBQl6s X-Received: by 2002:a17:902:581:: with SMTP id f1mr40238297plf.304.1555414696222; Tue, 16 Apr 2019 04:38:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555414696; cv=none; d=google.com; s=arc-20160816; b=XVsYuGjzuWIyPjRcHXaCRrJt/egx24N2us15hqoCnUQzGLjG2RSCC9sxepCYJzD1if U4v7CDuLPDkKqPoLL0zy4tbRzfCZnr6YrU+9samEb1jDtry0y64EhTXc2XLZ07VXH8ut YAxxa+E1aMOfXbxgY3mmpAzNy2vmiVqRg0VTPb7It9yf6CZnAujMtUYZflrEJS5OOfjp nxWYKsrJSjpeXKrYVKFilQYkxhDlVpgwfHTUOUZjlpfjSjl/zcZ9yF2zCL1x3CxG4F2c UREvqmCqzShev3XtMBJ9++4N3PVbsQKG2ofIQO5zE7mDNkRNu81mlpyA0MB+P8DVb1Bk Txjw== 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:subject:cc:to:from:date :dkim-signature; bh=zcGftKM5cHuD9u74AreR2J9u/eutxvpid7fH5uK59eo=; b=pKlVN5PzfCpv6Q3RQ2KfEg7lFjssNohT3Wzj3+QIOycqCA4+9WZyavCDBokcqa22o4 PE+Z8e21vZu3DXwv2N1n+I34+cAI2M147JWdE9lOYo1dmPqh2ctvq7jR6AWuMdheh/B6 cI+6EtgGIZaCEG2Uk1U5PisU6XjWlOjGeLz9Qv0XUhn55lHdr3f+OLn7wjE4MtJvWPSA gwwAxh3+MKztvpId9TXE94qiT4bIQksAtC+0tgvRFghqG/0cpAzsawjfEEror61141aa fABq3RMxe6k4rzQH447gXeeJgW/W3KCuWHm/v2ziBzlOfvuVqjz8IuLNGy0DOs4BcNU/ 8G/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=YQd9NQSW; 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 i96si29237014plb.331.2019.04.16.04.38.00; Tue, 16 Apr 2019 04:38:16 -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=casper.20170209 header.b=YQd9NQSW; 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 S1729281AbfDPLft (ORCPT + 99 others); Tue, 16 Apr 2019 07:35:49 -0400 Received: from casper.infradead.org ([85.118.1.10]:57466 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726838AbfDPLfs (ORCPT ); Tue, 16 Apr 2019 07:35:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To: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=zcGftKM5cHuD9u74AreR2J9u/eutxvpid7fH5uK59eo=; b=YQd9NQSWFk5DNYVHOgmKMh6FAA EPnZsj+7OFaYCx7jaGuOIvgjYAq3EUEok/QeYWJN0jEswfKG6nLfeCYAK7rZKt9Uij01WJO9nlqIu kHQN85p2t0xXrHas1jLLfpZFc3+VdarZZrYKhwRfbXMDyCX34VozibHHrioAfCNmKXwaoY/prG1Vr Cn/dgPWAankIMrgBn1wRL6iEkcalv+nlaFtzegW2COO/Vti9dkntgbHkbSpeIQuhtb+CvZ5f55Wfp YIdjP+AkonItqTFqwTIxQeRxOMOOD7RLzIz6kE2J5pI/yeWKhjILaE28ryelAOq4ybIVmpvee+6dC SEPPwBNw==; Received: from 177.205.118.176.dynamic.adsl.gvt.net.br ([177.205.118.176] helo=coco.lan) by casper.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGMNN-0007mG-EC; Tue, 16 Apr 2019 11:35:45 +0000 Date: Tue, 16 Apr 2019 08:35:41 -0300 From: Mauro Carvalho Chehab To: Mike Rapoport Cc: Linux Doc Mailing List , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: Re: [PATCH 46/57] docs: cma/debugfs.txt: convert to ReST and move to admin-guide/mm Message-ID: <20190416083541.7d126935@coco.lan> In-Reply-To: <20190416052159.GB27735@rapoport-lnx> References: <20190416052159.GB27735@rapoport-lnx> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, 16 Apr 2019 08:21:59 +0300 Mike Rapoport escreveu: > Hi Mauro, > > On Mon, Apr 15, 2019 at 11:56:11PM -0300, Mauro Carvalho Chehab wrote: > > 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. > > > > Signed-off-by: Mauro Carvalho Chehab > > --- > > Documentation/cma/debugfs.txt | 6 +++++- > > It wasn't really moved ;-) Heh, yeah! The original patch was moving it: https://git.linuxtv.org/mchehab/experimental.git/commit/?h=all_with_indexes&id=e02d3ba65eba1676b01c82988b8054b88e6e5cdc It seems I forgot to fix the comment here. I opted to do just the conversion and place the move patch on a separate series (yet to be submitted), in order to avoid merge conflicts. > > > 1 file changed, 5 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/cma/debugfs.txt b/Documentation/cma/debugfs.txt > > index 6cef20a8cedc..4e06ffabd78a 100644 > > --- a/Documentation/cma/debugfs.txt > > +++ b/Documentation/cma/debugfs.txt > > @@ -1,3 +1,7 @@ > > +===================== > > +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 +16,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 > > > Thanks, Mauro