Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5377775imw; Wed, 20 Jul 2022 04:43:11 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uomXLEWm8i1wmBZMCxBZExNnAAlfcsmW3H5iCHY2cHrlKVnCCbRAlNkgNVKjWWfVEzEJzi X-Received: by 2002:aa7:db9a:0:b0:43a:76bf:5401 with SMTP id u26-20020aa7db9a000000b0043a76bf5401mr50011761edt.244.1658317390888; Wed, 20 Jul 2022 04:43:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658317390; cv=none; d=google.com; s=arc-20160816; b=VZQ8bn1Zs95TS3x1YTYyKsovIz2qdQYW9ik3zJ6KrvHto9M9yZJpovhZqsqhlVH66v 4Rq0FHOnDRPkXG9+7m2bCeI6ti2UdmCqmUHGYCFHzckLebst6VQSZXHvdwJy4SuhJbae pTkJEVRFgmWTa8io5RziOxGG4Bo0b5npkDMjh+nMqL/t70EekBqT0gPCq4JoVikJ7PXB tGdwYvVpieTldLrOkneNRq+wG+Ko+68XDGi+NdtIODKibSjmZNDPakLJV/PXdac3Y1Vc CH++NJQy2Q/XlqB4O4do23vPDzHVlx5csuSp/0eDT3NQ56RkBjjAUZwufWcL7UEbz/nw 4f9w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=HaEogrGXBO9W6cWg3CIvTltGLAfoziXsyoiJVv5i5qM=; b=LVngppbRguHpPCh14Ez+cJZWn59tcrClpfImTUbOqOby5HCZvyO38WGzANimvkud/g DjkE3TxXoMFTCgjADKvKLYfMj/kdnt+bdI7PNY63n7iKKUICSSOykT7hclJhEDRZUC6e VE1f1sM3Hy2BB3XPBm8aaHd/ajhN6H1xh6Z2UAOlger2ecA48adUCuOnFdmoApqqWvt0 JMVdZxy5bMEyyiuGI3+lghT+mQdFB3vPdir6dpd7aXZ5ehj3Gcx04kFvMg5IUmpHsfbx u/cRC3vaZ1dJjGDBxG2HOhlzPczIvMEo11hn0dHbxGEnbJdZJTZeo824ZNX4bgg7nbmp EeXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=ATNaX1+4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u4-20020a1709063b8400b0072b3a316cc6si19705776ejf.977.2022.07.20.04.42.45; Wed, 20 Jul 2022 04:43:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=ATNaX1+4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237377AbiGTLQ1 (ORCPT + 99 others); Wed, 20 Jul 2022 07:16:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239008AbiGTLQK (ORCPT ); Wed, 20 Jul 2022 07:16:10 -0400 Received: from mail-m974.mail.163.com (mail-m974.mail.163.com [123.126.97.4]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 887705B799; Wed, 20 Jul 2022 04:15:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=HaEog rGXBO9W6cWg3CIvTltGLAfoziXsyoiJVv5i5qM=; b=ATNaX1+4SJr5RStOgo/j4 JeybmIgtoowIMV1VeCCOLjAgvA6Ng2wUrPLgMlo1LOXnP4EFFCHpTE2Odj6aF2y0 Ve/3oauSfO1/SBnlEm8v7rOCwZAk2DSDX0KWsHRSyrbDtox3gpM/HxXEOjkzW3bS 6ou9nseLAYWXi2Ahrg7jXc= Received: from localhost.localdomain (unknown [112.97.48.93]) by smtp4 (Coremail) with SMTP id HNxpCgDXyNhe49dihuDYPg--.344S2; Wed, 20 Jul 2022 19:13:37 +0800 (CST) From: Slark Xiao To: martin.lau@linux.dev, yhs@fb.com, song@kernel.org, john.fastabend@gmail.com, kpsingh@kernel.org, sdf@google.com, haoluo@google.com, jolsa@kernel.org, corbet@lwn.net Cc: bpf@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Slark Xiao Subject: [PATCH] docs: bpf: Fix typo in comment Date: Wed, 20 Jul 2022 19:13:33 +0800 Message-Id: <20220720111333.17075-1-slark_xiao@163.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: HNxpCgDXyNhe49dihuDYPg--.344S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7ur1DZFWUuF4kWryruF1ftFb_yoW8Gw1kpF nrXwn0g3Z8Z343uFy8t342qa4FgF4kWw4UGrZ8tw1Sya17tFW0vryIyFnYy3WUGFyfAa12 vryFyF1UWw1jy3JanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0zRco7NUUUUU= X-Originating-IP: [112.97.48.93] X-CM-SenderInfo: xvod2y5b0lt0i6rwjhhfrp/xtbBDRVEZFaEKAPoCAACsj X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix typo in the comment Signed-off-by: Slark Xiao --- Documentation/bpf/map_cgroup_storage.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/bpf/map_cgroup_storage.rst b/Documentation/bpf/map_cgroup_storage.rst index cab9543017bf..8e5fe532c07e 100644 --- a/Documentation/bpf/map_cgroup_storage.rst +++ b/Documentation/bpf/map_cgroup_storage.rst @@ -31,7 +31,7 @@ The map uses key of type of either ``__u64 cgroup_inode_id`` or }; ``cgroup_inode_id`` is the inode id of the cgroup directory. -``attach_type`` is the the program's attach type. +``attach_type`` is the program's attach type. Linux 5.9 added support for type ``__u64 cgroup_inode_id`` as the key type. When this key type is used, then all attach types of the particular cgroup and @@ -155,7 +155,7 @@ However, the BPF program can still only associate with one map of each type ``BPF_MAP_TYPE_CGROUP_STORAGE`` or more than one ``BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE``. -In all versions, userspace may use the the attach parameters of cgroup and +In all versions, userspace may use the attach parameters of cgroup and attach type pair in ``struct bpf_cgroup_storage_key`` as the key to the BPF map APIs to read or update the storage for a given attachment. For Linux 5.9 attach type shared storages, only the first value in the struct, cgroup inode -- 2.25.1