Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp307188imm; Tue, 21 Aug 2018 20:19:19 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzO3KfPuHtbQ5AlbLkhr2buz9v95W1q22WJMp+FYHNL500Kf+0DfegJLvdm0ZwsIKkCKlxR X-Received: by 2002:a17:902:50ec:: with SMTP id c41-v6mr52652776plj.269.1534907959864; Tue, 21 Aug 2018 20:19:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534907959; cv=none; d=google.com; s=arc-20160816; b=Iwr6LAV0VMJAutfY6aJKiy8ACIT7PeoE2ikXDabV0AHJFU9ISEygNRIMLOy8F7chaJ 7NeiCjeDx+ApQOpBWLaYog5+e/jL5zbXLXoTJnFuMWLqXuUscq+UUgUWRE52xD6Q4MlA 3P+M4XbFJWQ9+3P+V+EubTMzHWg58YZHiTetPFJL3ASCHvWml+SLvaN49YKD9axQ0inC y5J4o01VutWsxfPjd6h9NmreoLsDq8TJx5t4iAiYezcjuJTC7NvdGQfUw1tPABlPvjsW FARWKVwfu7GHpIlveVbqWaT7seJMFLf948HAlDE07sg6s8y41SMjECbYwShMzJDb6EOX n+Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=9D6GTNndQGqFKxOldkiN8a90O9KOtxyKd+xOzw4Qm/k=; b=WLxejmmW/mVqKWqsWNKvS/9uFQRAkIReMxN2ibCyHo1vivpf9CMIOAXtn0dCiebzXb NZO6lEut2Bk4ldpXMeyX7eW+W24/D6q81NH0ZTbiMNoOokQKRZKxQXfWeLrP6QYIrLlp 8/9x0X7cWShM+WSeXRsRqfbJ84J0BJ7y9AphcHKDB3wMLpGfdy/3Vx0SF/AtOmQi666x tHJG4yEIpr0i6/Vn43Wkm7CHY3u+la6OfjOOp21HzR5FjLo/nUw7Fx8kJ4Yw0GW1gasO QCn0KTltrQ74JCZYe7+i/yqt5Oj8X6EvMmSDVmYTGy1mQI84Yx2rxWgvcb7ntuZnJ3Q3 lYnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="bn/DT+IX"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t6-v6si528838plq.268.2018.08.21.20.19.03; Tue, 21 Aug 2018 20:19:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="bn/DT+IX"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728023AbeHVGRZ (ORCPT + 99 others); Wed, 22 Aug 2018 02:17:25 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:39022 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727498AbeHVGRZ (ORCPT ); Wed, 22 Aug 2018 02:17:25 -0400 Received: by mail-pf1-f194.google.com with SMTP id j8-v6so265884pff.6; Tue, 21 Aug 2018 19:54:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=9D6GTNndQGqFKxOldkiN8a90O9KOtxyKd+xOzw4Qm/k=; b=bn/DT+IX1w/BNM2b7hDLxPSQ8O0y2fdpLTLMSrzPrWHt1Sw/yq+zAivKMMTpvY4AhR mzak8kSyTArKZyG5OMiVOnmIQ6Z/p2KiSo9XYUnNyRUFvtE7j6YZwH5TeJIduOgNhjde 1wxTbsU8/XHAhA993W0J5nKdpUtLDQ+F+6mwydL9QCFsvdnMRfwOt/z3G+rzvicAZo/j YzA6bIxzobLqNMr76qe901LxTCnUiQhNLEwCa7ajCQU01az2IMCmaundDrAlX3aN8+wl MDr1LtRmTJ5N0rLiWzBpz5RFsNZ3AYX5a7/RMSWJwiBzlwZpphEVZrIGJylzxfcnXj1f /N4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=9D6GTNndQGqFKxOldkiN8a90O9KOtxyKd+xOzw4Qm/k=; b=dn2JQ75avnNs1gVfYU2Qx6nFUlc3nFxCLSyNpny7tSyRlEg93E8J0BYdiKFQ3OqpRf UmacPyKp6FPQ2BonUXmMJfzZfLAmUxm5QsGmGAlUx2CgOzSjX15K7JLRjdj/PksPNDvV 4usFbQqtFS08MtkdAft/pVQ+kVHtnEME0rLehwhCZETY7kl+1UdivF7B/1pK8dfrCEIO N+ratS9GWZ8u6M0U0TEtY0SM9Eu2DVIyfVFWLMimqeIUv9Ryb++T4kah8yrvkLwH9ali bYFtxeseiXl3+y7W2Mq1vkvOUluEl2o7DfPSi8Mg3D/O9daYoOu+JAZVnGlcQB5w3QvS B5xg== X-Gm-Message-State: AOUpUlF3qWilIuQcG4IjHfmRX7hMMOXlGQu+QuWZIcWevC4LJ6NjvCal JEddxsNPDechcbmP+1UcR2QwvwBL X-Received: by 2002:a62:e0d5:: with SMTP id d82-v6mr55330416pfm.59.1534906476243; Tue, 21 Aug 2018 19:54:36 -0700 (PDT) Received: from [192.168.1.60] ([14.63.106.128]) by smtp.gmail.com with ESMTPSA id g6-v6sm331580pgg.7.2018.08.21.19.54.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Aug 2018 19:54:35 -0700 (PDT) Subject: Re: [PATCH] libbpf: Remove the duplicate checking of function storage To: Daniel Borkmann , Jakub Kicinski Cc: Alexei Starovoitov , Linux Netdev List , LKML References: <20180821161258.19718-1-treeze.taeung@gmail.com> From: Taeung Song Message-ID: Date: Wed, 22 Aug 2018 11:54:30 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/22/2018 05:11 AM, Daniel Borkmann wrote: > On 08/21/2018 06:46 PM, Jakub Kicinski wrote: >> On Tue, Aug 21, 2018 at 6:12 PM, Taeung Song wrote: >>> After the commit eac7d84519a3 ("tools: libbpf: don't return '.text' >>> as a program for multi-function programs"), bpf_program__next() >>> in bpf_object__for_each_program skips the function storage such as .text, >>> so eliminate the duplicate checking. >>> >>> Cc: Jakub Kicinski >>> Signed-off-by: Taeung Song >> >> Looks reasonable, but you may need to repost once bpf-next is open: >> >> https://www.kernel.org/doc/Documentation/networking/netdev-FAQ.txt >> >> Acked-by: Jakub Kicinski > > Agree, please resubmit once bpf-next opens up again. Thanks! > OK ! I will. Thanks, Taeung