Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1715118ioo; Mon, 23 May 2022 01:16:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/lO7vFxWeHYdyJ7RejPHONCb0xEomS+SUUYW1w+txFU8Y8I1VDcSTyM7ifyr5svlF3ZTq X-Received: by 2002:a05:6a00:2302:b0:518:6ef5:abc with SMTP id h2-20020a056a00230200b005186ef50abcmr15567864pfh.85.1653293811518; Mon, 23 May 2022 01:16:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653293811; cv=none; d=google.com; s=arc-20160816; b=pBJIXXRolPC4q1PcefQkEkOo4qQwkXYheDRXumcQZixAPGzLJdISD57BUMSaQwHCGJ Hj/DAi58+HQDcUwxhV4f8L4w84JEJCoVRWjUGjq50x0Gd1PlSplGBzGWx2/8sx2iS36i gWAJMtc3WAZb7+JjW7aChhqpxVas2WLC9crGQyHsRnlDBFGf2RLYHc1m7AnYqRe4yED4 y0EveajR3UARaNRbngYUFLch1TEtY0PqqlVRIHH83sSd5a2DTr3d7Cba37/PNfYTd/IO VTQxrZNtL+pnIY2GA8+FMkNUuMS10ktzU+SpQjB/KYM5fReHQznGhFZ1RcBYz5a/u1Xi AL9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=102aBn0JR3M/WwS/swzSPfkILVklTAZC91XPQIvJBTg=; b=tCcLjSbEh4D3UrY0HO+bQunC200WdjBJwdbJa/2CND/akdrDTsuY6qGrtMkWTly2WU RdcoesLOr7cwO70k4W0pwbVSagkE3AoEyQ7QQDUK0ui9VYwd46zK8sWKxNQLFRHI9NkR hogmupecOFGNtQ5AwvYDEASzBFYWdx1kioQ73zI5KDXGNVE6UV33q/rGGGuyemsJkhDN 8JSxDsbqiGtTK3v+fYQKaXkkMGW1CVKC0KulPiVIKJjuORxjHWQG9NcE6rom7Ou7X/Ys 6vVjl/aOBZ32aumf3K2BbwBJ1HydP8y7iD3WXpTZH9Pimp5CQS/bE0z/3yy3iwJqLyvY CmyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PWGRyF2f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id t35-20020a056a0013a300b004faa79d798bsi13665321pfg.27.2022.05.23.01.16.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 01:16:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PWGRyF2f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 369DBAB0EE; Mon, 23 May 2022 00:11:36 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351343AbiEUExs (ORCPT + 99 others); Sat, 21 May 2022 00:53:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241907AbiEUExn (ORCPT ); Sat, 21 May 2022 00:53:43 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03CE36C578; Fri, 20 May 2022 21:53:42 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id m1so8863023plx.3; Fri, 20 May 2022 21:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=102aBn0JR3M/WwS/swzSPfkILVklTAZC91XPQIvJBTg=; b=PWGRyF2fNaOh4KaYB/zeiEKUH4gVVH4H7/ifcFFhuRWNsHCrDxe8YmmVCugYL2ge9K zejnWxqg72zkAp6mdOfbgk1JYA8QaLe+5ci+P6t3IhXcw6uEjCOsGtRFT9guS4M3lMlp 8hQZX+oEqT2++YZAZOpGw6ZYfCsXmlin7UO1ccUEzS15hfEQuG/9ir0nBZpYFgwd9uUe iyWJlGzS8v047mIOfI13H2TS+nNFXUNqB9/aimVaQG7r1j4+cEfcoE06h4FmGaNRC0xx ktOjxgUqAfaAK+m1pHith2BbIi28SgkRUtd/OEYblqICMdjcyzdCDP2f7mVsDhktTthj NiBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=102aBn0JR3M/WwS/swzSPfkILVklTAZC91XPQIvJBTg=; b=FFmF/wsgCBf1GsFDlR21VnXclHAx1oNK+M4FJkXQIjpOr+Voxe2WaVS1UoPLCXa3zh sjn8umY3Z1ffIg3vuYJjNe9ZgAOOAQmebGtfsA3XKPDMQ7a+LY6Th5S+ugDRG/mlZICR jsDMvEnCFALh96H6d1GbfGeV8kve/pPVJ/FPAOwv2temW57HX8rwUow4cCHX4miAVyS6 tPPrO22RfBKrJJ4YGhGbbvz9w6Oazk02l4MrqBY3UAWEjnVBgdZDERuaRQ/pZV/8fuLD IGwKnCPKUWAne7wjbYnGt86rOO8JEs8XQZGLCg7Mv1KPDd6T1zP6eJFol7H1Bg/pVPCJ xX0A== X-Gm-Message-State: AOAM530O5xbw3ypJdVVk29wtrDTk3Xj1f/garBwJczGLDNGDTQlX8ylW 8pFZ3EFrgMt0YrYxVWleX7A= X-Received: by 2002:a17:90b:384d:b0:1df:f014:54e1 with SMTP id nl13-20020a17090b384d00b001dff01454e1mr9137026pjb.107.1653108821246; Fri, 20 May 2022 21:53:41 -0700 (PDT) Received: from localhost ([2620:10d:c090:400::4:1761]) by smtp.gmail.com with ESMTPSA id fh6-20020a17090b034600b001cd4989ff53sm2727449pjb.26.2022.05.20.21.53.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 21:53:40 -0700 (PDT) Sender: Tejun Heo Date: Fri, 20 May 2022 18:53:39 -1000 From: Tejun Heo To: Hao Luo Cc: Yonghong Song , Yosry Ahmed , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , John Fastabend , KP Singh , Zefan Li , Johannes Weiner , Shuah Khan , Roman Gushchin , Michal Hocko , Stanislav Fomichev , David Rientjes , Greg Thelen , Shakeel Butt , Linux Kernel Mailing List , Networking , bpf , Cgroups Subject: Re: [PATCH bpf-next v1 3/5] bpf: Introduce cgroup iter Message-ID: References: <20220520012133.1217211-4-yosryahmed@google.com> <73fd9853-5dab-8b59-24a0-74c0a6cae88e@fb.com> <4cbdd3e9-c6fe-d796-5560-cd09c9220868@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, May 20, 2022 at 07:43:12PM -0700, Hao Luo wrote: > Yes, passing a cgroup_id as the seek() syscall parameter was what I meant. > > Tejun previously requested us to support seek() for a proper iterator. > Since Alexei has a nice solution that all of us have ack'ed, I am not > sure whether we still want to add seek() for bpf_iter as Tejun asked. > I guess not. Yeah, I meant seeking with the ID but it's better to follow the same convention as other iterators. Thanks. -- tejun