Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2081180pxb; Mon, 18 Jan 2021 07:47:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxFqxTAZyx1PGmpKBeOhDhPIUHOkV/uvT/fztyfilRdoQd4p/NlFkJ4ZgFpbdv8E910MLZ8 X-Received: by 2002:a17:907:72c2:: with SMTP id du2mr184846ejc.305.1610984846372; Mon, 18 Jan 2021 07:47:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610984846; cv=none; d=google.com; s=arc-20160816; b=dRZwMgB999+kidqmLaSI0LS3E3EPXLqrnhDeJSDyw6GeWM5X1KPNVHnwE62cFEgsb7 XFj7qn3xXJ9g+Gjn8ZtMzJoc9LYjIR7dd1sXtQ7rDnPFUaE4Mp1lVJoQ0WqJ7u3oPv/l qp0ClMzX2xwQy28qT5gViPJIopisQaj02epLg3ZYXQ0RTVHIO/vZcHmglalCJqgKw2bh dGoGBjjlQilaDz45489FOidM9NQU9U/0sHAB/KPeFXkM1OAeLNmr7uiK9uecT3ydllrn 2mU7acmP9l3URiFgOUJToU1Syg4YBARNQcXQMcGkkhbd0h7Ps0MQJ5Nbf692nkw/UQdm deGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=9u33B5kpdx78LRxtPzxqjXDA4O8vMwb9b3mNJEnT53c=; b=hU7kGz16h0ZSNaUwiJxa4wOvGQ9eKPaJknia/UJ4X08H0YbOz+sIHEEQcic+z/VOuG iqe1OE0LbE/Q/8DI/+inAH7cQqstk+RMw2BtgyPEHDwz4I/eSlMPhBvbp8SaatIDkElW EVFG12cIK+2DVFuioiw/e4ezKCBBHFhQ942tSCCayepRdu4bKrj0P45OF+OBqjIzegIy 1bg1vhCFB7eLsue2rlRsVHv+EWgwuKubdibSGjWtrEkDWmOnP35V23OhnksaDVpYssF+ BRqzi+nd0R6fADjK6n9Ijaq8GGks0BWGuNQTd1o3T5chKn0sZMkIDJXLhUBfVTta9H1c 0l/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=K463mC5D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id by17si7309604edb.1.2021.01.18.07.47.03; Mon, 18 Jan 2021 07:47:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=K463mC5D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393321AbhARPpe (ORCPT + 99 others); Mon, 18 Jan 2021 10:45:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393504AbhARPo1 (ORCPT ); Mon, 18 Jan 2021 10:44:27 -0500 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A3E4C061574 for ; Mon, 18 Jan 2021 07:43:42 -0800 (PST) Received: by mail-io1-xd30.google.com with SMTP id x21so15348495iog.10 for ; Mon, 18 Jan 2021 07:43:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9u33B5kpdx78LRxtPzxqjXDA4O8vMwb9b3mNJEnT53c=; b=K463mC5DkZYkZN1sdYteF8BEn4+WZfjSGyZ5gih+OpCjTeiv7CfmbB92JnSmLU9FFs WvsumAb4sJiygLufQG4CyDBYL1MqkSNOXFBRfJdPw15GypkdbOLgeOBazewURA4xZbgc OlJwCaHx/0dVf6DsYMA07M590tjagAx/wCi6EvhSvYpGCxglYXVTsLpx5erGjXpuTVuP tTzD9CHdzHAL97EYo+9r/C08m99Jknp15513YhRK3BjPfZ5baUlqbOO9xHjUPdJhrkx3 wTxc4o0U0caSFtlx4gvKViteDNPHMVexybJXsQrw4574nERjcdFr8nahuQaSBk7vSzXa JJHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9u33B5kpdx78LRxtPzxqjXDA4O8vMwb9b3mNJEnT53c=; b=m5KCpHrdMzST/QCc2UJmuePkjtLFd24uhxMojACqA6tOE2F4gbA0Kg/sN6K2/hPicP xkn3aHYEGGoDys69ZCELoFHbvxPi2Y3ZPNF9hWtoJYunG0P/XpVefcG1rVZ/UDQsBMhB nJDvgt8vjOVNA+uFOVTaoZDZTonR4j2//sDTwcQ2o0gZFB6Zpsm3HHYmPVP5W0qVZ8/l +gtUVrygH8FQ00108DDWLL2+YL2lgxY/8Dr5xnzJxD6i72kCDzjfQMQ8r9+Nk0oqsXKp oC1V49y2V4wA4XVMiuPTWUPooOvDoFeW50+k1bMNRba4MzdF1kRwfc57P924T9cq0XAH YjfA== X-Gm-Message-State: AOAM532KxL3xMJ3SimTVTNPBkX+GQxjL+TDhMMMD1iiCbRIGHaNQNLi/ NB4Y2D9/ZLFIPXhalX6mRs+MkovSGLcTPqGRHt2DCA== X-Received: by 2002:a02:1dca:: with SMTP id 193mr119411jaj.39.1610984621544; Mon, 18 Jan 2021 07:43:41 -0800 (PST) MIME-Version: 1.0 References: <20210118113643.232579-1-jackmanb@google.com> <20210118083306.4c16153d@lwn.net> In-Reply-To: <20210118083306.4c16153d@lwn.net> From: Brendan Jackman Date: Mon, 18 Jan 2021 16:43:30 +0100 Message-ID: Subject: Re: [PATCH bpf-next] docs: bpf: Fixup atomics documentation To: Jonathan Corbet Cc: bpf , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , KP Singh , Florent Revest , Lukas Bulwahn , LKML , linux-doc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks for the review :) On Mon, 18 Jan 2021 at 16:33, Jonathan Corbet wrote: > > On Mon, 18 Jan 2021 11:36:43 +0000 > Brendan Jackman wrote: > > > This fixues up the markup to fix a warning, be more consistent with > > use of monospace, and use the correct .rst syntax for (* instead > > of _). It also clarifies the explanation of Clang's -mcpu > > requirements for this feature, Alexei pointed out that use of the > > word "version" was confusing here. > > This starts to sound like material for more than one patch...? Good point, I'll split the markup fixups and actual content change into separate patches. > > NB this conflicts with Lukas' patch at [1], here where I've added > > `::` to fix the warning, I also kept the original ':' which appears > > in the output text. > > And why did you do that? Hmm, indeed looks like that isn't necessary as long as there are no spaces between the previous character and the '::'. v2 incoming... > > [1] https://lore.kernel.org/bpf/CA+i-1C3cEXqxcXfD4sibQfx+dtmmzvOzruhk8J5pAw3g5v=KgA@mail.gmail.com/T/#t > > > > Signed-off-by: Brendan Jackman > > --- > > Documentation/networking/filter.rst | 30 +++++++++++++++-------------- > > 1 file changed, 16 insertions(+), 14 deletions(-) > > > > diff --git a/Documentation/networking/filter.rst b/Documentation/networking/filter.rst > > index f6d8f90e9a56..ba03e90a9163 100644 > > --- a/Documentation/networking/filter.rst > > +++ b/Documentation/networking/filter.rst > > @@ -1048,12 +1048,12 @@ Unlike classic BPF instruction set, eBPF has generic load/store operations:: > > Where size is one of: BPF_B or BPF_H or BPF_W or BPF_DW. > > > > It also includes atomic operations, which use the immediate field for extra > > -encoding. > > +encoding: :: > > Things like this read really strangely. Just say "encoding::" and be done > with it, please. > > Thanks, > > jon