Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2481764pxb; Mon, 18 Jan 2021 20:41:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJNgoXxxu54d72ANDvC4XTQJKbYUA9/z4SbIQSpLMj+ncls1Q/Ck8F7uBe4Y0zABda1GB8 X-Received: by 2002:a17:906:1719:: with SMTP id c25mr1858409eje.251.1611031312727; Mon, 18 Jan 2021 20:41:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611031312; cv=none; d=google.com; s=arc-20160816; b=nvS3FcNzhLyiHoo95quDYeOKsZ5/nxBPnvAdmqCbzvQflYcQUV09+cNSeLfSORBDCp C5QKzMmRC5W2QYKA8kwK0hky6TxBiH9r/ZAdFVvNN0zuIRgFlUebOGmi1cI7Z4/pR8Rp TKulv6Alc0LAd5ZucGxfz3JWSaf8rd8+rtcWbcQ4PnnIoDFVAFPA7dLmd9cUpNnkS7gH wCupavLfqO09y9vRJTgpeiTwa6M8AAGbAb4ZjFLtiHqbtykerivyEBlbTAGXpJXRZ0Mb AlH8y14WTZa++PXBOkd9eLSrzzxNm49SyWRj0n5Gf420AoctV7RMT9tKp4MyWRJlzm4i ZlIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature:dkim-filter; bh=XC7KRMeUDNxNiOYz2a2HT8kOQVSM5OckAmd87Y8oQvw=; b=RexmD4CIJ6FnY17jk98KL7hyA8iIsBRsb8g5hoO0M3ekLkKsbSLw6hPBBQckc5tUjk Dj4ulzw44rt2FiwCfhV6dqh+fNIvnrMLBMob0igF3gDL5zwGzVvDJZCcrD+feqGexMJH DEqaTvZDKpI/ckz1vEPWuywI+AZ82xeM5L/wUJl/bhopTR3h0T0TcdRStlruHUPqG3rO bENqXwZ53Uuh5HiMdCNNZLPWwBf90YLsGgszgNvEKCmggbJ7imZGG6+WiQOsbaRz+VH8 YwecYwyrJXYoEtaGozTlik0BYIL9NcQqZ2KXLgxo4vOjKI+d3IolY35FjibFLzokZhJr 1UQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=Hgl09VVw; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p2si8471786edw.413.2021.01.18.20.41.29; Mon, 18 Jan 2021 20:41:52 -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=@lwn.net header.s=20201203 header.b=Hgl09VVw; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405406AbhARPqu (ORCPT + 99 others); Mon, 18 Jan 2021 10:46:50 -0500 Received: from ms.lwn.net ([45.79.88.28]:49906 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405477AbhARPeZ (ORCPT ); Mon, 18 Jan 2021 10:34:25 -0500 Received: from lwn.net (unknown [IPv6:2601:281:8300:104d::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 19242385; Mon, 18 Jan 2021 15:33:08 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 19242385 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1610983988; bh=XC7KRMeUDNxNiOYz2a2HT8kOQVSM5OckAmd87Y8oQvw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Hgl09VVwWWUMo6xbZvho6YKf49FldIleZSiRXJB/6yjTJXdm/9mOVi7QLoRNczXSn z0rsd77UdJa9mlf2KToHng++tJWfI/Ki75i2X3pwZKrAFu+X1rQ/7RFP2hJvwFtTj9 1AvD90LFLMz56/2Bv2cFx1DASAooc/lIET6qCLuiMNogN9vpr3FvDet29oEKaakx/a O6CgOvtZxNF7QAFCYuzpjBYkymQZxHwrugaW9v1EqXyM3PmNGvtDrOWTM5b/ByD6cf mYScIrliAi1Kv0zdwe33Fn6AZuH3Up8MEFNwMWADXzQxQigbIZvRScJgumYVWMA9I5 4C08pDaZOSylA== Date: Mon, 18 Jan 2021 08:33:06 -0700 From: Jonathan Corbet To: Brendan Jackman Cc: bpf@vger.kernel.org, Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , KP Singh , Florent Revest , Lukas Bulwahn , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH bpf-next] docs: bpf: Fixup atomics documentation Message-ID: <20210118083306.4c16153d@lwn.net> In-Reply-To: <20210118113643.232579-1-jackmanb@google.com> References: <20210118113643.232579-1-jackmanb@google.com> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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...? > 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? > [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