Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1141783rwe; Thu, 25 Aug 2022 16:46:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR7529XYE2dOgQLkPQJfb8I8/y1y9kAgFo+86seVokFIvObB1hM3mQsBxx9nL7YSG6eJHR4J X-Received: by 2002:a05:6402:2549:b0:446:fdce:2a64 with SMTP id l9-20020a056402254900b00446fdce2a64mr4798960edb.288.1661471162682; Thu, 25 Aug 2022 16:46:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661471162; cv=none; d=google.com; s=arc-20160816; b=LY2s7nLQ9l9g48FSKiCuF6VpY61jhC9DiAfx4yyuD4RARsunSzt03gLzm/zhbRwE71 5H5ufVgUJmgONEE7T4PQ/w3vGTmzPqbShuIq7rgv+rm/dcqg7HO4c5oI+2aftOYtj/xT ivzJssbM6vnuQlRxHymOV1Td6fNlIPz18SAAuR2umGLfOB23K7H9gr/XeLCiEYIlVKb5 NYHBA/VsSKV/q+40fqpZ328wNvgKObhQkQnJyJUx1q+ElxnYEshuoM1fgxQKUoPHuhgE k7BYxSt7dRXeCf8Nswc79NT1o6BXmg2F373FvOgWa95ASupfFm2yC1G5yUgdyweyAMUW gFFw== 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=euDQ0vrJp+rShUuElD29thuo7rdwKdtGzimujeCiDFg=; b=KlYwgtCGHLQWBjmc5mqE3pDdUEQa8mo5az/5592tRdrsM0UOytislzNnebkJjGmEP1 0mbRrTuMklhGaUrKrsBXGqJjhVSCwJiStVOylfaiw9kDZKltUOClKPPZZ/7+N9w0Tvnz 03XyxOHesBRr016AHtGerbNez8HeG8f19E8FqS5Rb9HKPoCI5A7tanYMRA5qYz2OmXEg IMYBnSjvRTsSLXHp6Q51+kFpcIlLH+bfncJynNxuFP2JRRBzkIC0PPp1nPNgaqpgPPww d5nGRC20NUw0OO3YZ64flBleisHrXosK2e5JXDuvTflFeyY2NmwQUbFzE5PBGR47YxyC GHYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=ju5G5j7o; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jr19-20020a170906a99300b0072aeac5f74bsi321495ejb.119.2022.08.25.16.45.37; Thu, 25 Aug 2022 16:46:02 -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=@google.com header.s=20210112 header.b=ju5G5j7o; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243473AbiHYXUP (ORCPT + 99 others); Thu, 25 Aug 2022 19:20:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231750AbiHYXUM (ORCPT ); Thu, 25 Aug 2022 19:20:12 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15D9026ADC for ; Thu, 25 Aug 2022 16:20:11 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id l33-20020a05600c1d2100b003a645240a95so3254718wms.1 for ; Thu, 25 Aug 2022 16:20:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=euDQ0vrJp+rShUuElD29thuo7rdwKdtGzimujeCiDFg=; b=ju5G5j7otQhLMteRP/Idhs1jAjG0AYp12tWnPcydd2V403pxSI21Q9Y9iYcDfXEPOx np6rBXiJHgm3cOhRelYZnMbVZyfXPNyqJXdi4iB+A3iHiMGqMLu/6lujyauQdpfxxi+K xjPgRz0c/1jPgqoehKIBmC7NzT8o5BX8zArrRrKbdxi1PPKu53pNOjBqhsWjKvbZVhbi xOWSZ7uSf6lL7UWRKGfDkHCwAZF+oL0cnqIJrsPD0h+0tk/0tD0KiHxpp5Zgashp8Z4q lxqrQJA+qqXO6oIW9tPAgt+KCZhLY6Oe/4tbzOzWZBNwKd81qmVd5LqQp+/qAfd8VwQW vr/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=euDQ0vrJp+rShUuElD29thuo7rdwKdtGzimujeCiDFg=; b=wssrEmi9D2hpqXpZZQKjdztO8lFAlwWxhhcs/pblsVjdMNl+YZv5AWAyVyZfcqx+UL LA9wAB6oepO1jg/V0wXtvY5S7NeB3U7O4pwiTQWMzBwvMyKoAcFR6dKJ1INvNCxw7kOB OuD/IZv9hf2FxaxiW2GZCjc72eEKBHmvCsHsRfgyyRlL2Le2ymUsrmDCbvpQztBu+EXn NA5nVTJKx8pp/xKHhJsaxk9rveC6Oa3dIqOals/5x5lLOrYuCGr+JrY6+rltw1HoXuT7 b/mVScTs47C1UztEK6Hx7VH1SZEw0On/Cuyb8Ze6SesojCkDgY9RNPxXt6G0mM+0K002 ekiA== X-Gm-Message-State: ACgBeo1tvAbI6aLZUHNrL5l/XvSzDLXodKKRu7u1Hp3B4wlArQ5EWRuv PdpAZ3ORdZZwzPr1lkIZdIYf330PZl+7z8RhaMNaBA== X-Received: by 2002:a05:600c:224c:b0:3a6:7234:551 with SMTP id a12-20020a05600c224c00b003a672340551mr3532845wmm.27.1661469609514; Thu, 25 Aug 2022 16:20:09 -0700 (PDT) MIME-Version: 1.0 References: <20220825213905.1817722-1-haoluo@google.com> In-Reply-To: From: Yosry Ahmed Date: Thu, 25 Aug 2022 16:19:33 -0700 Message-ID: Subject: Re: [PATCH bpf-next 0/2] Add CGROUP prefix to cgroup_iter_order To: Andrii Nakryiko Cc: Hao Luo , Linux Kernel Mailing List , bpf , Networking , Alexei Starovoitov , Andrii Nakryiko , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , KP Singh , John Fastabend , Jiri Olsa , Stanislav Fomichev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 On Thu, Aug 25, 2022 at 2:56 PM Andrii Nakryiko wrote: > > On Thu, Aug 25, 2022 at 2:39 PM Hao Luo wrote: > > > > As suggested by Andrii, add 'CGROUP' to cgroup_iter_order. This fix is > > divided into two patches. Patch 1/2 fixes the commit that introduced > > cgroup_iter. Patch 2/2 fixes the selftest that uses the > > cgroup_iter_order. This is because the selftest was introduced in a > > but if you split rename into two patches, you break selftests build > and thus potentially bisectability of selftests regressions. So I > think you have to keep both in the same patch. I thought fixes to commits still in bpf-next would get squashed. Would you mind elaborating why we don't do this? > > With that: > > Acked-by: Andrii Nakryiko > > > different commit. I tested this patchset via the following command: > > > > test_progs -t cgroup,iter,btf_dump > > > > Hao Luo (2): > > bpf: Add CGROUP to cgroup_iter order > > selftests/bpf: Fix test that uses cgroup_iter order > > > > include/uapi/linux/bpf.h | 10 +++--- > > kernel/bpf/cgroup_iter.c | 32 +++++++++---------- > > tools/include/uapi/linux/bpf.h | 10 +++--- > > .../selftests/bpf/prog_tests/btf_dump.c | 2 +- > > .../prog_tests/cgroup_hierarchical_stats.c | 2 +- > > .../selftests/bpf/prog_tests/cgroup_iter.c | 10 +++--- > > 6 files changed, 33 insertions(+), 33 deletions(-) > > > > -- > > 2.37.2.672.g94769d06f0-goog > >