From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) (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 55CD81CF82 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="n0UgTBL4" Received: by mail-qt1-f172.google.com with SMTP id d75a77b69052e-42831bbf750so8326271cf.3 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=YcZbpe+W49AJ5o0CPUT/5TbmnFO1ObYPZ0FQICjU3uU8YaUHY1Go8OGMhZ/TZvnF0E vgwqKjOEeYLIOoJc3McvsiTVKBEIjUpaBIg+I0mHvEWIAM4d92tD2ZxFtQ6x4z5BJW1k tbJQOcAEEDdAIpLAlyPoCXG+hc0RbxT/qxTBi+aC50vUU5ysrfZWqlHlVpmToCW85kLB 3lS0SBXbX7JMdmnRdSyhSiXWqKnJl+g8z6/ClMREord3/ht6KaxcwzWsSCcQXnMCe5YM e9lNMH3IXznactb38T/RxA9+1gNTcpSmjFrxDGFZ6skIouCcZXvcOwaf5SypYyjPEv8p zWIw== X-Gm-Message-State: AOJu0YwXLRi7yyreW/IjPRZ8mF0g9g2KA9fgCcaxFtYUNhAKdzQVTJfr SCpfLqvlpTbW+xpVJP6QUW4tYS47K1yI X-Google-Smtp-Source: AGHT+IHpdeWDTUGFEoYyWXGKPiAy09Orm5WIgHCQnHBAQrhtE/UKeD5p5zrafXMQ0T04zPyVziVRGg== 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: bpf@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.