Message ID | 20240308010812.89848-8-alexei.starovoitov@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD3C8C54E49 for <linux-mm@archiver.kernel.org>; Fri, 8 Mar 2024 01:08:44 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3400D6B02FD; Thu, 7 Mar 2024 20:08:44 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 2F1BB6B02FF; Thu, 7 Mar 2024 20:08:44 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 191E36B0300; Thu, 7 Mar 2024 20:08:44 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 0A1316B02FD for <linux-mm@kvack.org>; Thu, 7 Mar 2024 20:08:44 -0500 (EST) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id E33511A1224 for <linux-mm@kvack.org>; Fri, 8 Mar 2024 01:08:43 +0000 (UTC) X-FDA: 81872086926.03.1D0A825 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by imf11.hostedemail.com (Postfix) with ESMTP id 3A8894000F for <linux-mm@kvack.org>; Fri, 8 Mar 2024 01:08:42 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=nAcQ7WLG; spf=pass (imf11.hostedemail.com: domain of alexei.starovoitov@gmail.com designates 209.85.214.171 as permitted sender) smtp.mailfrom=alexei.starovoitov@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1709860122; a=rsa-sha256; cv=none; b=Y29NQGC+7hG/BidHO84TWf4YOe6UsjGhs6al6R+NUDezs0X1N+Iz7vXF0wlXJsgj9Vq8za WuTT41/6RrqhJyOriO46WtoOPMYCmk7ZGL/ak4ma5HLMGHX/0RLWg5xEU4YOonCHU/g8aR FYR3C7RgX2NHK77DO5Km7Xeuq8fFKQI= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=nAcQ7WLG; spf=pass (imf11.hostedemail.com: domain of alexei.starovoitov@gmail.com designates 209.85.214.171 as permitted sender) smtp.mailfrom=alexei.starovoitov@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1709860122; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=7NuXXLmnAE+q/Qh+E4xFDGQkYW6zqeJ+lfkCjeDFQWQ=; b=18x6fQrhLXyK0K54LGiBlnON1O7VfLBFTl6wTFBOy7GPr15GFXohXg5srYFxPoK5nYjiwJ 6x9s7gGy4bzRq7qEbNPkeZ905JmJSPwMBtdJUAMLxOIpYce8wPn8DqOrvswLOGcg7Tciuy i/PgvMXZrdmF2c2VcelidjVfHmYb6iw= Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1dc139ed11fso19094745ad.0 for <linux-mm@kvack.org>; Thu, 07 Mar 2024 17:08:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709860121; x=1710464921; darn=kvack.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7NuXXLmnAE+q/Qh+E4xFDGQkYW6zqeJ+lfkCjeDFQWQ=; b=nAcQ7WLGvv/XW2KffTXxTwZlcFqW42wqiUoWZldcCL2SzRWw+zIQTADNGvZpbBmZLW OMQdPhVXBR/6P5BCRQc+IHUyCtotSJcoza6JIZ/eghUWT30Q7IuS3YLQpz0GTrJaxeKf /pCNrVJ1TIZDEa65x2QnvOb4Y1CmRjejSCFbQKVtGcPiFVA2PXbVdnXzNU+RioMFsGy5 NIWGGESvXuMxAuiLCAwvFeeShuJwgo4iV18E81oVAEC8UyS3xKCGb0IiGQhgbYYI2Lnz KoUYFngTHg7xOkPBjFArbpLerbHeZjMXpLPA2+OK7qZIicz91xwHgOFuFzsoguLBDZTP gukg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709860121; x=1710464921; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7NuXXLmnAE+q/Qh+E4xFDGQkYW6zqeJ+lfkCjeDFQWQ=; b=QN/4YTC9KNRebWbcT/HpHU0xIc8rLwRL5aIwwjhMBrVoSQGKVn7pwTaAuLWr/aJ/aA 4+/3GXrscvJGqwrgYZfWAVI6JrY2VWNzK9oBQP34zMHphOr7dRlbUl1LXVD/UEtwOyju e6OIiJ2VHMMItmgaMcFSxHK0isYB6xhA5nTuMeS+btlWNzQ4BL/zVHporyG3ZbgBlznO zEpsIeTkUiruslETVo0aGIS2YP0BzTs3QFcgeAyT6Mqtd2Y71tOUEepJydYApWus9Wbn ECm7sw4G9fxco0CQOx2RbJKW26YPTQasaeQ+GF4GhPDT/DFPqLAryO5XawwTnq/VFjKF k+DQ== X-Forwarded-Encrypted: i=1; AJvYcCVY+31L9U9qa4GT9hyFbJvqty5dvKDK0Mj8RyKu4Xlp+8rwS5s+amOysPcARlUAZ5ezjBvlkk8jHjn1OhYWZPQU0Vo= X-Gm-Message-State: AOJu0YwQF5vsXdkfWlnV9jjBWBSzOfhVbHDo7ZMPZELMggEaNxadcJ2M 7nFW24TB9Et14B5Horv7scFuH2YLSKyxQLTgKA/wdqOofjnL0NYH X-Google-Smtp-Source: AGHT+IE/rVJyHyDH3twq3B5ImHa+7qQMzSrhjptd/jCeFWpmF9E5EuD8MZdBtTv8pdWPHrdvIyjM/g== X-Received: by 2002:a17:903:228b:b0:1db:c649:cff0 with SMTP id b11-20020a170903228b00b001dbc649cff0mr4824335plh.25.1709860121047; Thu, 07 Mar 2024 17:08:41 -0800 (PST) Received: from localhost.localdomain ([2620:10d:c090:400::5:428c]) by smtp.gmail.com with ESMTPSA id w1-20020a1709026f0100b001dd66642652sm360604plk.190.2024.03.07.17.08.39 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 07 Mar 2024 17:08:40 -0800 (PST) From: Alexei Starovoitov <alexei.starovoitov@gmail.com> To: bpf@vger.kernel.org Cc: daniel@iogearbox.net, andrii@kernel.org, torvalds@linux-foundation.org, brho@google.com, hannes@cmpxchg.org, akpm@linux-foundation.org, urezki@gmail.com, hch@infradead.org, linux-mm@kvack.org, kernel-team@fb.com Subject: [PATCH v3 bpf-next 07/14] libbpf: Add __arg_arena to bpf_helpers.h Date: Thu, 7 Mar 2024 17:08:05 -0800 Message-Id: <20240308010812.89848-8-alexei.starovoitov@gmail.com> X-Mailer: git-send-email 2.39.3 (Apple Git-145) In-Reply-To: <20240308010812.89848-1-alexei.starovoitov@gmail.com> References: <20240308010812.89848-1-alexei.starovoitov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 3A8894000F X-Stat-Signature: ja7rcx5cfsuakxpky4hxifs6kh9qy9ns X-Rspam-User: X-HE-Tag: 1709860122-240035 X-HE-Meta: U2FsdGVkX1/bv0GgAGLsEQoVPXvvVs3qH9xC9OisygM6IB75XwnxRrlEMTmqMhDUMcHlXmMnks2ynTx57miSOs9fh9BVoVQ7BhPT3oNo7q5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MkT5QKV0+JujCo4f X-Bogosity: Ham, tests=bogofilter, spamicity=0.000006, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
bpf: Introduce BPF arena.
|
expand
|
diff --git a/tools/lib/bpf/bpf_helpers.h b/tools/lib/bpf/bpf_helpers.h index 112b1504e072..cd17f6d0791f 100644 --- a/tools/lib/bpf/bpf_helpers.h +++ b/tools/lib/bpf/bpf_helpers.h @@ -193,6 +193,7 @@ enum libbpf_tristate { #define __arg_nonnull __attribute((btf_decl_tag("arg:nonnull"))) #define __arg_nullable __attribute((btf_decl_tag("arg:nullable"))) #define __arg_trusted __attribute((btf_decl_tag("arg:trusted"))) +#define __arg_arena __attribute((btf_decl_tag("arg:arena"))) #ifndef ___bpf_concat #define ___bpf_concat(a, b) a ## b