Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7323066rdb; Wed, 3 Jan 2024 11:45:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IHkmgeep/Ln6LByC8qqI8qGWNwuIfaK0mVDectP691UdG8F6JpMMdROIEgRAWGcCvPOJKHi X-Received: by 2002:a17:906:73d2:b0:a28:d103:dffb with SMTP id n18-20020a17090673d200b00a28d103dffbmr1947ejl.78.1704311137609; Wed, 03 Jan 2024 11:45:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704311137; cv=none; d=google.com; s=arc-20160816; b=SAjL2o77JSt7vvUphLoDz5CK3qNWAFp/tslh1c2GoueaJliwTEHtqaWhx0yTo6ZiEW eCCkb5fTN7k0FwubkfrnaWmdyuVX44rxQnLd+yTRVux5EV6VgTXqsIXXWkFlCi74OsFI aEtQF80y4SDO3qP4mBiWMjTEaYaWfSbgQV4pU+vmTJv6R199OrVpjQkOmak9GUITeBaW bmxInA8XuLo6mw4a7H/qDZevrzikwGoTm6gTaODZ43po2UxAjq1cL112YWKl0lanCXBy wfLfBdkpd5DvPqmudmsqNOxKqM7rkfRsdtIoB5dflH6c/tqR3J+ftxqro1iqOYi/t/5i f7iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=08K7LhOetDPdy9c3bhAy6SA1r70KyGek06ME+qynwdY=; fh=A0qHSgc+LFI6ONAV7b4P7e9BuXPZptsQo0GTmFK+5gc=; b=a5iprlYRcF3SpECUnwgiEm3jMqUIyapBJ4QYzHgFHtT5C+9sKj4+vFD2HNxHoiqkrH UfWxg93tH4Csk5phGCDKBuL4Z2IAej01DvOmZ0X5xwgZMgeZOXz/KunzuchFTDX2rbk9 N+YcyAbgWQsa+9Yd50bbn47/xUoFdq5QOd6uwePd2wrDki5LwJvP83rbdTBUfY1lp3Vz 0Jqx6OG+KKYyGnK6xrvlSQAO7Vl5pmE+P+IilB/OnChZ9o8RF1TdwzRL1ZE8NbyDyHyG gRyzzDtfQGN40BZvQtLnE7xPqber0W4Pt8ATQ2bazxO4tHeXMi+Zo9Jg7/28RfaZYNJT GzWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=n0UgTBL4; spf=pass (google.com: domain of linux-kernel+bounces-15930-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15930-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id p16-20020a170906935000b00a232e29b109si10036602ejw.978.2024.01.03.11.45.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 11:45:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15930-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=n0UgTBL4; spf=pass (google.com: domain of linux-kernel+bounces-15930-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15930-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 560DD1F258B6 for ; Wed, 3 Jan 2024 19:45:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4EECB1CF82; Wed, 3 Jan 2024 19:45:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="n0UgTBL4" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) (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 59A731CF8A for ; Wed, 3 Jan 2024 19:45:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-qt1-f170.google.com with SMTP id d75a77b69052e-4283f7d53f2so58161cf.0 for ; Wed, 03 Jan 2024 11:45:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1704311126; x=1704915926; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=08K7LhOetDPdy9c3bhAy6SA1r70KyGek06ME+qynwdY=; b=n0UgTBL4y2n/PiBseo5zbymMZVI6t+Sw7Z6flus8BZYjULgc2RBNU/493QHFsiFmL0 QJJzKmD28Lfmu8DWrSDN2W/NWaB8cHAJGxgJl9qZJefLJlfweDEMbDU5i+mO38UjUcd6 YmtVNDds5F0EwT6V/EiNqlUIxDhlQURRmOIYFhdZd25mJm0tWgueagyaQP6B6D8qI6yJ JJxo+bOjfDZ77rgnxnde7+NWo/dPu8ImdIyUz30iO+qXF1+FRR2eHTQP6qE1F3nL9IuY wBs4ufXs6nAsw35FXgmphUcCfy8Q1sFxUeFteU5QZbUBdf6RzgnhI/LKjxyjjfd7JNQE ttag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704311126; x=1704915926; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=08K7LhOetDPdy9c3bhAy6SA1r70KyGek06ME+qynwdY=; b=J0/1ED3SOvebrpYiyp2Qwtyi/Xz7hAxhFzkToOBO4lwSX10dZRN+XXF3qG+TlBFDuU ytuKzarHFI1YZlqtGHvk4ze/JfnzsxANqw9o+jzif5VJqBniGXirMRA/ag2sRAExP9yz HbseroHNt95bNjU+dd5adK02HZHV/kKoEVocXjyqODRag7pf3P2NawQvGckhPN/zkbpf hkUIbJUXiQVt7s15YSDU1EmlqtUsVmpHsVIJOi6pHKMyMS74mb0CaQbPW9BhXXLrejxS fKbjLpCbFXiJEKHp9tPBUj3jIZK4cyb1C6repSKDSu/qR+ZL8INeAveYvo7wZuLenfMu Oudg== X-Gm-Message-State: AOJu0Yy6AB7frjwdxqvZeeQmAPPWeQVlKTApxfaVl5g8E/hn5VkDBAFs sW4eMhoOKkKy/bSyrBoLfaj5iydviGgv X-Received: by 2002:a05:622a:1ba0:b0:427:9b36:d8f with SMTP id bp32-20020a05622a1ba000b004279b360d8fmr24323985qtb.93.1704311126144; Wed, 03 Jan 2024 11:45:26 -0800 (PST) Received: from [192.168.1.31] (d-65-175-157-166.nh.cpe.atlanticbb.net. [65.175.157.166]) by smtp.gmail.com with ESMTPSA id bt13-20020ac8690d000000b0042834ec3e46sm1440448qtb.7.2024.01.03.11.45.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Jan 2024 11:45:25 -0800 (PST) Message-ID: Date: Wed, 3 Jan 2024 14:45:25 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 bpf-next 1/2] libbpf: add helpers for mmapping maps Content-Language: en-US To: Andrii Nakryiko Cc: Andrii Nakryiko , Alexei Starovoitov , Daniel Borkmann , Song Liu , Yonghong Song , mattbobrowski@google.com, bpf@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240103185403.610641-1-brho@google.com> <20240103185403.610641-2-brho@google.com> From: Barret Rhoden In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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.