From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id dy7nLMuWn2c+RSIAWB0awg (envelope-from ) for ; Sun, 02 Feb 2025 11:01:15 -0500 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=lists.lttng.org header.i=@lists.lttng.org header.a=rsa-sha256 header.s=default header.b=vscYix4A; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id A61271E105; Sun, 2 Feb 2025 11:01:15 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=4.0.0 Received: from lists.lttng.org (lists.lttng.org [158.69.130.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id C29631E08E for ; Sun, 2 Feb 2025 11:01:12 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1738512072; bh=ycHX/fEDGRepHSJvFGJ02HOS3W2WyJW6MJ3IcpgpPkQ=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=vscYix4A958hx8GB7/50uMoyGfxWPqStR6tKJ09jNM59Jox2ImkLqnLEZsoUkf+J/ VEItEIUIIOKKIGkS71ZxFKK+nqOocBfJIZGSwYXZ8bStiE7LAcnWBygyx84+7amhAE +WiCsorvvR/RJf3Av0kRb6X3IkMTH5+g++E9gQod2dg3eljcUZ2bkrQAGuUi3xPG4f 4KnOEPU3rieGro8ebFBAdKNA0vifzm8XxKY41NUGfNgUmfr12OCHTLqKqdbVQSAR3h eI6yBMKE57L88xFAeBfNT5OpKR9zM0HXLjLfXneBlAfAaGoXdeON6KjJwql+LpCjR6 49ZSXAMRpHSjg== Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4YmDrS3XlZz1Py8; Sun, 2 Feb 2025 11:01:12 -0500 (EST) Received: from fout-a1-smtp.messagingengine.com (fout-a1-smtp.messagingengine.com [103.168.172.144]) by lists.lttng.org (Postfix) with ESMTPS id 4YmDrR4NDZz1Py2 for ; Sun, 2 Feb 2025 11:01:11 -0500 (EST) Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfout.phl.internal (Postfix) with ESMTP id 0991D13800E0 for ; Sun, 2 Feb 2025 10:48:57 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-09.internal (MEProxy); Sun, 02 Feb 2025 10:48:57 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduhedtkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurheptgfghf ggfffukffvofesthhqmhdthhdtjeenucfhrhhomhepqfhnughrvghjucfuuhhrupcuoeho nhgurhgvjhesshhurhihrdhorhhgqeenucggtffrrghtthgvrhhnpeehffdvueevheffhf euudefkeevledvvefgleetfeejteffhfeihedvleeiledvjeenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehonhgurhgvjhesshhurhihrdhorh hgpdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehl thhtnhhgqdguvghvsehlihhsthhsrdhlthhtnhhgrdhorhhg X-ME-Proxy: Feedback-ID: ida81469e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 2 Feb 2025 10:48:56 -0500 (EST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Sun, 2 Feb 2025 16:48:44 +0100 Subject: librseq memory allocator portability Message-Id: <165086BD-96DA-4A95-8411-F87DB502DB23@sury.org> To: lttng-dev X-Mailer: iPhone Mail (22D63) X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?Ond=C5=99ej_Sur=C3=BD_via_lttng-dev?= Reply-To: =?utf-8?Q?Ond=C5=99ej_Sur=C3=BD?= Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" Hey Mathieu, I=E2=80=99m actually thinking about using librseq for some more lightweight s= tuff first - like statistic counters (especially those related to memory all= ocations), and my first obvious question would be - how portable is the libr= seq memory allocator? I am not keen on having a code with ifdef spaghetti to support BSDs, so I th= ink that it probably should provide some per-thread memory pools at the expe= nse of just consuming more memory on platforms without rseq system call. Ondrej -- Ond=C5=99ej Sur=C3=BD (He/Him)=