Received: by 10.192.165.148 with SMTP id m20csp3026566imm; Mon, 7 May 2018 05:31:55 -0700 (PDT) X-Google-Smtp-Source: AB8JxZonnRCJvTdzVqtfch6zySVdSXA9skewnc/WTXWwYAnoAy3Eu5aKc+s5CwQ89w4x+3KqE0Ml X-Received: by 10.98.202.74 with SMTP id n71mr36778631pfg.149.1525696315038; Mon, 07 May 2018 05:31:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525696315; cv=none; d=google.com; s=arc-20160816; b=ml/g+j2Hvv9HN7KP7ogJTErWlRlzZGHD3dkKO80wTttHi9O+cVvsN+vqNEq4eLbc2r GmAp7MWP+boZC+rtH/iWqHIUadhJ/BiQz+Rv1gphfdrRNw0/Q9s5051Jr+oKCX4djzJD u0EMywTKbX9qfvCaIHnZTTLWeSTyEtZtMYqXCc9yIdMxG1MB1GgA9T5UiDSxsfAQEdMX krbIKyrUX6mvFEJzIkGMlQ85zQGECxj8Xfb6elWLga/YP5kGaqmGKBazQFSYthZHQRd/ t5R4vS9AzstEKp0zb60nTH3EorLRIfffFOilLJUO2n6udfVqkP9WM2LTPAVV/pHPcEGY Ox+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=BguRn9heUdLD9nqCv2WrVJczNmS+9tu6hdZYJP/3NQ0=; b=xNm/LIwDy5ociAdX1WmxqVlrTYQQtNjbfoI8zRLtwQhuytPvDoxjjx3Qd0/EuHL2C4 O49ih8YavfPkMmTuh31tuSJruGfhgEokamq1yWIByU9bn46VMLMtvz4bztQ7umoiHs2w I6K7rzT4xan/6CK2LVgbKQHL1KwYupBDOpgm8XqA3LqKmJf3dqvQHJ37HrF7VtnR/Kvq vxKqxQB9HoucpKYK4Ka8LXPS9jIN99BmGCPD88u7q+WuU9CYEB6ASfZgQpLyyrBSliR/ grSAdenSeNeSmJ0ks2yid6mEtByFvJNEXelLhiOG/VUbPyQWRabWZUD0peBoYqYlA733 p8nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=RO/Fvsh/; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4-v6si22324060pll.10.2018.05.07.05.31.40; Mon, 07 May 2018 05:31:54 -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=pass header.i=@amarulasolutions.com header.s=google header.b=RO/Fvsh/; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752360AbeEGMbL (ORCPT + 99 others); Mon, 7 May 2018 08:31:11 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:36573 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752341AbeEGMbJ (ORCPT ); Mon, 7 May 2018 08:31:09 -0400 Received: by mail-wm0-f67.google.com with SMTP id n10-v6so15052387wmc.1 for ; Mon, 07 May 2018 05:31:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=BguRn9heUdLD9nqCv2WrVJczNmS+9tu6hdZYJP/3NQ0=; b=RO/Fvsh/nUVbkElWVIMGr1zdN35hyiIdh69SD4nbuH9C32GLFt77G/V6mTh/B8v38o torhdpEVrS7PlExYJ2X+IGPrUz/l3SB5vOBhPwxkKFPO1xnc25xvR4EyTKiYf189g9ce 1RHh71byjJlfNYJGROP3eSHEIfoMzBLmnatV4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=BguRn9heUdLD9nqCv2WrVJczNmS+9tu6hdZYJP/3NQ0=; b=mq/MPfzFB+V2gFgLq1p1W4o16yOGAFvFlv9ZVWuhyARiclQBaN+187ninUDJZ7ssoq 7NGUvD5FlZz5h8dpXWkaZ3mnlRJKPwN+BMaBMIqy20GU4La2YQVSAvHBO3/gVryRemY0 riOaXrokj8Nxyydr6r7rJ7Y6dMhzO2kInhpmhxWvxtJR6f5VeHT501UwojUNdeZIGLoY 5B/ATPW97PSaGOt/TPvZqG+KyJnVUC6pY1py5pM/HDfxaZUnA3SzyLV273rchcwx5buS cRgyIJsmLiOc9bWay11UKs6EJVR1cLsp/EFmkFRzW9GkmG7VcN9VJUd5Qp1/Cio+Pck0 Uziw== X-Gm-Message-State: ALKqPweOzTg6FNSHu15zNNayk4oOUbpZyIEgc/7wEOgggEqyuzSASHRI XDTnDdAw3411bQpB8N3uVkVb6Q== X-Received: by 10.28.59.212 with SMTP id i203mr726482wma.41.1525696267906; Mon, 07 May 2018 05:31:07 -0700 (PDT) Received: from andrea (85.100.broadband17.iol.cz. [109.80.100.85]) by smtp.gmail.com with ESMTPSA id a129-v6sm6329374wme.3.2018.05.07.05.31.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 05:31:07 -0700 (PDT) Date: Mon, 7 May 2018 14:31:04 +0200 From: Andrea Parri To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Alan Stern , Andrea Parri , Will Deacon , Peter Zijlstra , Boqun Feng , Nicholas Piggin , David Howells , Jade Alglave , Luc Maranget , "Paul E. McKenney" , Akira Yokosawa , Matthew Wilcox , Jeff Layton , Elena Reshetova , "Tobin C. Harding" , SeongJae Park , Ingo Molnar , Helmut Grohne Subject: Re: [PATCH 07/18] docs: core-api: add circular-buffers documentation Message-ID: <20180507123104.GB5813@andrea> References: <93ca8a46ed15b23d522ce514dbda62bd64d4584e.1525684985.git.mchehab+samsung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <93ca8a46ed15b23d522ce514dbda62bd64d4584e.1525684985.git.mchehab+samsung@kernel.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 07, 2018 at 06:35:43AM -0300, Mauro Carvalho Chehab wrote: > The circular-buffers.txt is already in ReST format. So, move it to the > core-api guide, where it belongs. > > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/00-INDEX | 2 -- > .../{circular-buffers.txt => core-api/circular-buffers.rst} | 0 > Documentation/core-api/index.rst | 1 + > Documentation/memory-barriers.txt | 2 +- > Documentation/translations/ko_KR/memory-barriers.txt | 2 +- > 5 files changed, 3 insertions(+), 4 deletions(-) > rename Documentation/{circular-buffers.txt => core-api/circular-buffers.rst} (100%) Similarly: ./include/linux/circ_buf.h: * See Documentation/circular-buffers.txt for more information. ./drivers/lightnvm/pblk-rb.c: * (Documentation/circular-buffers.txt) ./drivers/media/dvb-core/dvb_ringbuffer.c: * for memory barriers also see Documentation/circular-buffers.txt Andrea > > diff --git a/Documentation/00-INDEX b/Documentation/00-INDEX > index c6b81ef9827b..a9dd1384d8e3 100644 > --- a/Documentation/00-INDEX > +++ b/Documentation/00-INDEX > @@ -80,8 +80,6 @@ cdrom/ > - directory with information on the CD-ROM drivers that Linux has. > cgroup-v1/ > - cgroups v1 features, including cpusets and memory controller. > -circular-buffers.txt > - - how to make use of the existing circular buffer infrastructure > clk.txt > - info on the common clock framework > cma/ > diff --git a/Documentation/circular-buffers.txt b/Documentation/core-api/circular-buffers.rst > similarity index 100% > rename from Documentation/circular-buffers.txt > rename to Documentation/core-api/circular-buffers.rst > diff --git a/Documentation/core-api/index.rst b/Documentation/core-api/index.rst > index d4d71ee564ae..3864de589126 100644 > --- a/Documentation/core-api/index.rst > +++ b/Documentation/core-api/index.rst > @@ -26,6 +26,7 @@ Core utilities > genalloc > errseq > printk-formats > + circular-buffers > > Interfaces for kernel debugging > =============================== > diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt > index 983249906fc6..33b8bc9573f8 100644 > --- a/Documentation/memory-barriers.txt > +++ b/Documentation/memory-barriers.txt > @@ -3083,7 +3083,7 @@ CIRCULAR BUFFERS > Memory barriers can be used to implement circular buffering without the need > of a lock to serialise the producer with the consumer. See: > > - Documentation/circular-buffers.txt > + Documentation/core-api/circular-buffers.rst > > for details. > > diff --git a/Documentation/translations/ko_KR/memory-barriers.txt b/Documentation/translations/ko_KR/memory-barriers.txt > index 081937577c1a..2ec5fe0c9cf4 100644 > --- a/Documentation/translations/ko_KR/memory-barriers.txt > +++ b/Documentation/translations/ko_KR/memory-barriers.txt > @@ -3023,7 +3023,7 @@ smp_mb() 가 아니라 virt_mb() 를 사용해야 합니다. > 동기화에 락을 사용하지 않고 구현하는데에 사용될 수 있습니다. 더 자세한 내용을 > 위해선 다음을 참고하세요: > > - Documentation/circular-buffers.txt > + Documentation/core-api/circular-buffers.rst > > > ========= > -- > 2.17.0 >