lkml.org 
[lkml]   [2019]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 46/57] docs: cma/debugfs.txt: convert to ReST and move to admin-guide/mm
    Em Tue, 16 Apr 2019 08:21:59 +0300
    Mike Rapoport <rppt@linux.ibm.com> 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 <mchehab+samsung@kernel.org>
    > > ---
    > > 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 > <debugfs>/cma/cma-2/alloc
    > >
    > > --
    > > 2.20.1
    > >
    >



    Thanks,
    Mauro

    \
     
     \ /
      Last update: 2019-04-16 13:36    [W:3.597 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site