From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-5.6 required=5.0 tests=DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id 1A6FB7DE74 for ; Mon, 7 May 2018 12:31:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752349AbeEGMbK (ORCPT ); Mon, 7 May 2018 08:31:10 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:40791 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752342AbeEGMbJ (ORCPT ); Mon, 7 May 2018 08:31:09 -0400 Received: by mail-wm0-f66.google.com with SMTP id j5-v6so15086317wme.5 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=BAuO91PLjhAVckuAbsQtNZfjKDsDcXWQ3Xm3NDfG6UxGzYcVx4pBo+Vq7QT1azT7V0 5mmy7V/aqm05AmK+gXJigjQc5fMG9k9dCsbcW70vKwNRzt5k1ukqLKb6aA1YhihiWYmh f8bvjnwhlINiFpMhVZDa0C0H1KnUx87G/LLv/47mNLE+GppE+rxanEYWZ2eYWh8kRK2/ p7UirawRyONXia53T5LjFfiqkoN/NjVqrEZN1cjPEZZFFZjDq3VhuOP1peGaScdTB+tV u3Qneec0N1SCUeh3c7HTCssTe2/R6RmhE9YILUdQqd2g9E/zHmQH/hvmA2YHrpnQYjTj 5zIw== X-Gm-Message-State: ALKqPweJEhKT8y3jCQfGIkCNEYlupbZ33fKceq8uEJ75x27CcxXhPOvS c7ceyORjIfwmevOyCRQZCRw+fw== X-Google-Smtp-Source: AB8JxZoRG+stxEvnhtm2z+AyDF3sqtMlVCEtOS5G0/TlGk2+ztQTbdk0YvkzwcAnqpggyB0mPCF+ww== 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-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@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 > -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html