From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4549BC63793 for ; Thu, 22 Jul 2021 16:02:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 263396128A for ; Thu, 22 Jul 2021 16:02:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229592AbhGVPVl (ORCPT ); Thu, 22 Jul 2021 11:21:41 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:23818 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229536AbhGVPVk (ORCPT ); Thu, 22 Jul 2021 11:21:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626969734; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Hva5vELoleu80vnwOXHVIvlXrtyMK1gEcb1LP/Bg0sE=; b=bAnTDh+Hjca4lSkK79TBCWCIinFPRduZdWTnv5Erqd2+EUfUVBbHxJEAHcGmJS0baYhSCS NX7nfTUI9oFM3UNfFoQKNQ6TCn7lodM3fs0c6Kj/PglJsMDQYKZAfhOcDWt63Qkt0n1+Ov boI5tJe3YJ1CTXJfpuh/xI9MI0Yja3k= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-296-kagHvGxTM2284Tn88QqWTw-1; Thu, 22 Jul 2021 12:02:13 -0400 X-MC-Unique: kagHvGxTM2284Tn88QqWTw-1 Received: by mail-ed1-f70.google.com with SMTP id v2-20020a50c4020000b02903a6620f87feso3007652edf.18 for ; Thu, 22 Jul 2021 09:02:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=Hva5vELoleu80vnwOXHVIvlXrtyMK1gEcb1LP/Bg0sE=; b=KJOgifmiXs41EoxXNmUlckV8qBxnroqrD/n9LwaJ3Rtqjo3ZplFRqLFGVcB0oLTBVh UfkUv2YbKNah9c18CnO+S9g9Mif+haX4zQQrFNZnQH9jywJobjXIcl/P4QmonGy7cZyg q15h77oCH8o7+6PUyk2iGs/a8zKmfd2PSQI4Ii6t0IAFUN4jAiO8GCog5i/gxxJTjolN HSRu5dIdO/WZ0/GjBLpmnUxm73ifUR2xTyDngeh3Uk6HbJDZ1swbTRp9ZXhkJSRc3sRH bj5IJKUkNwDBg/UaMCBG04ClIvHD4ys0FiFVMRDqufuLShd4S8G5wlvnaqTU5GjibIba gFgA== X-Gm-Message-State: AOAM533UWRc9rxw8+DHRmgmPjyMOkWIfJpDoRC40U47xItrYoyK6EAmN 8NCt90kwBTMLwDV3RpAuzFzLSzpphd25aefrhJ/389216pH3wRvAQUq0k0zKFRnjhY0asm937/M hALyRgb17QU8M X-Received: by 2002:a17:906:254b:: with SMTP id j11mr565404ejb.187.1626969731816; Thu, 22 Jul 2021 09:02:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycmiIAoSzdAdAmayQM6GAkHX69bNZ/yHswCVn44aXv8niWoNvdHHOcE4YQwu0ybKadbnu5gg== X-Received: by 2002:a17:906:254b:: with SMTP id j11mr565376ejb.187.1626969731460; Thu, 22 Jul 2021 09:02:11 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk ([2a0c:4d80:42:443::2]) by smtp.gmail.com with ESMTPSA id jp26sm9743574ejb.28.2021.07.22.09.02.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jul 2021 09:02:10 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id DADC718031E; Thu, 22 Jul 2021 18:02:09 +0200 (CEST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Alexei Starovoitov , davem@davemloft.net Cc: daniel@iogearbox.net, andrii@kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH bpf-next 0/4] libbpf: Move CO-RE logic into separate file. In-Reply-To: <20210721000822.40958-1-alexei.starovoitov@gmail.com> References: <20210721000822.40958-1-alexei.starovoitov@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett Date: Thu, 22 Jul 2021 18:02:09 +0200 Message-ID: <871r7q8hha.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org Alexei Starovoitov writes: > From: Alexei Starovoitov > > Split CO-RE processing logic from libbpf into separate file > with an interface that doesn't dependend on libbpf internal details. > As the next step relo_core.c will be compiled with libbpf and with the kernel. Interesting! What's the use case for having it in the kernel as well? :) -Toke