Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1075391ybl; Wed, 4 Dec 2019 16:30:15 -0800 (PST) X-Google-Smtp-Source: APXvYqxD7h42cS2RrXdQCxtH0pknLRHqIUs+cL1/MU+mgNUHORgR86FWSUG07hXbuPr+Cvpv94o2 X-Received: by 2002:aca:6002:: with SMTP id u2mr4775240oib.151.1575505815210; Wed, 04 Dec 2019 16:30:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575505815; cv=none; d=google.com; s=arc-20160816; b=u2aIw1QaeMQydH8u1djI/OC/vUWqgdwajgdDBfp2iTKMQKUYM7iP0JHu/+7hWEoQPZ rViJ6veehEZyMbjv8CC7CEGXklFtyaagaOSB59CjDJy2tAKd3Co8IhDqhZF2UhoX3Ol2 BT2gM21GpM9ZWdZfxXCE8qvrA3nYuwhRO0nwzuE8NBv/WbukNMx0E1P09reuocaoWrbT 8nAOj7NcebLus6df1dljiZ0j8AdwrjE+DfaOFLr5K4CZ1UcZT+/MYs17BmeZAx8t+ST9 YWm3bFBRDneBJGDhDQLpqyeHC2TYlAwyh82yKPFCVtBuTGYB1dofIGjQC2tEu/LKn1A/ u6uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:nto:message-id:date; bh=bvmt2qZirsfJzS+TKgu/iVbkvaHsdBEBwoObz99stgk=; b=U9c4/SvS/uU+YukffJXL0o/bGlQGMUrukaFBFyYRMXq1KUp7eRYdeofIOOf9arYwfJ jLao8fbdrgxkBwONuY5J304kbtRoopSMHerEuy3Hk3PauHruV1IxAOf6AxEETBR+veo5 LU1Rx5n1EwSxTqWZQVKrgULOrO+GP3Ve7lQZ3ttI4xDTQiWqrJwM4vkyMNcGYB7YICtV 9W8OdGtCMMCqvenCi4FYTbPiAF5MrYJMqEjekdY4wx9IXKmhmjzTTki2kRpP1UrCyBT+ omBLrRj/F0e1BXgL8EoIjuS/HrQS54LrR/1R7/gjXWckeZuGTzOREC/43kZC8ZOwGzHy UHAg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q12si4241331oic.195.2019.12.04.16.30.02; Wed, 04 Dec 2019 16:30:15 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728549AbfLEA3d (ORCPT + 99 others); Wed, 4 Dec 2019 19:29:33 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:38100 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728121AbfLEA3d (ORCPT ); Wed, 4 Dec 2019 19:29:33 -0500 Received: from localhost (unknown [IPv6:2601:601:9f00:1c3::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 8BF3C14F0E35A; Wed, 4 Dec 2019 16:29:31 -0800 (PST) Date: Wed, 04 Dec 2019 16:29:29 -0800 (PST) Message-Id: <20191204.162929.2216543178968689201.davem@davemloft.net> nTo: jakub.kicinski@netronome.com Cc: alexei.starovoitov@gmail.com, andrii.nakryiko@gmail.com, toke@redhat.com, jolsa@kernel.org, acme@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, mingo@kernel.org, namhyung@kernel.org, alexander.shishkin@linux.intel.com, a.p.zijlstra@chello.nl, mpetlan@redhat.com, brouer@redhat.com, daniel@iogearbox.net, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, andriin@fb.com, quentin.monnet@netronome.com Subject: Re: [PATCHv4 0/6] perf/bpftool: Allow to link libbpf dynamically From: David Miller In-Reply-To: <20191204162348.49be5f1b@cakuba.netronome.com> References: <20191204135405.3ffb9ad6@cakuba.netronome.com> <20191204233948.opvlopjkxe5o66lr@ast-mbp.dhcp.thefacebook.com> <20191204162348.49be5f1b@cakuba.netronome.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 04 Dec 2019 16:29:32 -0800 (PST) To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jakub Kicinski Date: Wed, 4 Dec 2019 16:23:48 -0800 > Jokes aside, you may need to provide some reasoning on this one.. > The recommendation for packaging libbpf from GitHub never had any > clear justification either AFAICR. > > I honestly don't see why location matters. bpftool started out on GitHub > but we moved it into the tree for... ease of packaging/distribution(?!) > Now it's handy to have it in the tree to reuse the uapi headers. > > As much as I don't care if we move it (back) out of the tree - having > two copies makes no sense to me. As does having it in the libbpf repo. > The sync effort is not warranted. User confusion is not warranted. Part of this story has to do with how bug fixes propagate via bpf-next instead of the bpf tree, as I understand it. But yeah it would be nice to have a clear documentation on all of the reasoning. On the distro side, people seem to not want to use the separate repo. If you're supporting enterprise customers you don't just sync with upstream, you cherry pick. When cherry picking gets too painful, you sync with upstream possibly eliding upstream new features you don't want to appear in your supported product yet. I agree with tying bpftool and libbpf into the _resulting_ binary distro package, but I'm not totally convinced about separating them out of the kernel source tree.