Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7329012rdb; Wed, 3 Jan 2024 12:00:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IGMtmD9JFDgvC9UR8Jq041wuMI/ajCi4FDJLgDcAK27FAarj1LblkOP9wQSCNR/f30gD04X X-Received: by 2002:a05:6359:5e05:b0:172:dd11:bfa8 with SMTP id pw5-20020a0563595e0500b00172dd11bfa8mr8739839rwb.30.1704312048499; Wed, 03 Jan 2024 12:00:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704312048; cv=none; d=google.com; s=arc-20160816; b=IMTXtgdCDj/EUU12eXy4GQXGYWhnun7OZn3qCG/rxmIBqM8xiWI8s4T443kC1b2F5w Ck87XFC1WkznwqKa1kW4VVJkFx6aW5wNA8vJixAiymztnKo0gdNGGCC85kqX8vVDwbyC 0+iSgzzE3lGs44nKW+Hje0UBGrt4sm4Kss6fqFnv5A6w8WhWWoxa0nK8putTYpr5DIYu nWJCwsWxTFzp/qgHMUCBICygyYoirB7v1BVI8ktXgmQ/tB4KuaTONKLRCAVF7AuGTf+B 0OUbuZYHltP85GH/dymdoaXcvU12eX92G9RImNv2lGC5AkjTXGRyyzpgkdu4evO5y8Kz 429A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=8TZyheqiNkbw62Y0lKZ5a4PKzC93VCVktsjcoDVNmvE=; fh=kWZtVRr3OqUr9cTIRnamcvwoPDzGPV8zB4X9oxIpA3M=; b=GkHrr1a/Ag0vCvlGw5+fEFQUctf6dtD0itPk3PFzhA8eFMPDEVQ73TCPpo4bqROWWH sLOl5smjVdHemOxsIgUQ37NW8Ib+9e05fkJG6xtP28vLANdJsttks1ETFbupya43YrV9 3AtsCY/4gmZAgkP2WtxiNpClG4dWvJlKplaEYSVYVfHlMrSThauWmj/0FUDYO8qJiuC0 Ad+qoOd7+KOmsr7tdHy/WfLuMYe+TmnpuTnFJzs0oliyOLzhXzWkhg+2y1dtzImUTyE4 B3zWaqAugc/bupzWgl6rTUaOP57du0lGwfx4ErpTCC58BN0IzJ7ObSzQaBJvtn6V2p+n yHSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="X/Jtd0Jy"; spf=pass (google.com: domain of linux-kernel+bounces-15944-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15944-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id g1-20020a636b01000000b005c65fe4373fsi22330193pgc.315.2024.01.03.12.00.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 12:00:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15944-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="X/Jtd0Jy"; spf=pass (google.com: domain of linux-kernel+bounces-15944-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15944-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id D650BB23887 for ; Wed, 3 Jan 2024 20:00:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D7331CFBF; Wed, 3 Jan 2024 20:00:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="X/Jtd0Jy" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 43D381CF94; Wed, 3 Jan 2024 20:00:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-556aa7fe765so1816851a12.2; Wed, 03 Jan 2024 12:00:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704312030; x=1704916830; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=8TZyheqiNkbw62Y0lKZ5a4PKzC93VCVktsjcoDVNmvE=; b=X/Jtd0JyN+xOU39Dw1Cucg8jGdjy546nUnm45t7pWca00auwZpGEJGFcCjxtM7kM5H mLXDLFW8imNgCa4CAPenf23ldQB+EjbxkvJzkMrhgRPLrY8p+ESavf5KZJWYjuMZRGdh F+IxTeItwiW5XQKrXscrimsUf8YntYw6efAMReThDMYemJmIiDbY8GWqUK9IdBw5TEzl nuckpnbBo1m2u0vxdKDybhrYbDk9FEc7NeqB9jZG5pTAPV0tx3P32kF2wlG+1ax+N9KM h1iujI/ZwzUqGYiGPap7fs4uWWAF39RWHzZ0kjCjbAG7cNJ10jmzUvI0zCbunYuYNE1M axPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704312030; x=1704916830; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8TZyheqiNkbw62Y0lKZ5a4PKzC93VCVktsjcoDVNmvE=; b=R5tT4Jc8RAB+PDgOgZDyAT8MH/wSDRrZ5TpiKRAzZGB43NDvo3zo//bnNoyeOBOhZe +PM+5gAMtfA5IMUInHud6yt4C7sPUze4K5SkHxzI4+XKwKsgy2dtZDwQfkIjOKPendDB 9/ObeKw4sXPA4pQQRj6bpKXlTo47uR0mVv/B/BMi54Fr47qdFXknBvyVe5DiVhMLvRDS YKs0v4EeiB0XJyHs9H+T3nPw+AYKT9RZ6ufgf/3zT+HdAbygib1hPpbe3BQBIeaeWEqm 7uincB9pyHO0HlBqiQ2x/Ij3SiIeuY0szyLWcaUy41fySYUAnpBZ6m+xmpfkrULSe9c0 Ss5A== X-Gm-Message-State: AOJu0Yz2MYeLNoIOeCz90MU57WdCn+Erp6O819lL3mMrw0QiCchwzxLs wh5cG+5ct34jd2aB7KxOW2EJuR4V5iN5wTst3Fc= X-Received: by 2002:a17:906:2309:b0:a28:15c0:4dad with SMTP id l9-20020a170906230900b00a2815c04dadmr2048480eja.120.1704312030511; Wed, 03 Jan 2024 12:00:30 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240103185403.610641-1-brho@google.com> <20240103185403.610641-2-brho@google.com> In-Reply-To: From: Andrii Nakryiko Date: Wed, 3 Jan 2024 12:00:18 -0800 Message-ID: Subject: Re: [PATCH v2 bpf-next 1/2] libbpf: add helpers for mmapping maps To: Barret Rhoden Cc: Andrii Nakryiko , Alexei Starovoitov , Daniel Borkmann , Song Liu , Yonghong Song , mattbobrowski@google.com, bpf@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 3, 2024 at 11:45=E2=80=AFAM Barret Rhoden wro= te: > > On 1/3/24 14:42, Andrii Nakryiko wrote: > > this is specifically ARRAY map's rules, it might differ for other map > > types (e.g., RINGBUF has different logic) > > good to know. will drop it. please give other people a bit more time to review your current revision, don't rapid-fire new revisions immediately after getting feedback