Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2401658pxb; Thu, 3 Feb 2022 06:01:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJx7xCuoe40S1kYv0E55GViVGNxMHw1j2jEKItYbyMrcwTMhGzGt8g1ugaVHYZLkSKt95C47 X-Received: by 2002:a17:902:ced0:: with SMTP id d16mr35482203plg.47.1643896877249; Thu, 03 Feb 2022 06:01:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643896877; cv=none; d=google.com; s=arc-20160816; b=G1L8067WMpqrEGqi1NUXRNz+Y2qazPcAvQIPNAOsWNRYI+/f7F7+8B2s8YOkmGtSey Srlr50wxaNbvQVmOsBQ6Yes6AAPkdb5dTO1ZqP+oPqRxi1MZb2h3/vboHdDPm2TtC3DX bdecDzjByV2acDnuTbWwzdcX5o7YJOV37ISkj/tJBJkSma2dGYxIY/IoXQZcgOByk1V1 W6oKl5NUlogiMBjN/a+ow9cOov88mV3xq01DazcgqthZxl/LpNI3nFT9c6n6EiZOyVoM gSbP8jmgl5dIgBrj1W1cNcRKCh6xXlNJ7BDaidcXtg9X4jvPvdZR7NBh7j9iwnbmHMAZ iVGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-topic:thread-index :content-transfer-encoding:mime-version:subject:message-id:cc:to :from:date:dkim-signature:dkim-filter; bh=gibEsH3B0KzUwtYdfw44gc1dcx7UQW/Ha7elpCdnRs0=; b=OwqCfbfb384leRyXXED62UkrJcFUFIZ35675okBFP2muQkj053rDQrXk0yEhgYCtKy qmSKlCzqWzr4LKS1HF7SG2k55RJuL2uZSk9q6faH+9wZiZ3m7nyXuKLoX3h+eJMZR35S XyHCzDew5uL0o9Kx3UCZ8zFLOulyF5EuaXZcSCxzGjt7wkPWReXrMzOGBJ5uSBWCnoLC AXmvZouj+a6vqDBhIwqr3LOf6BLEJWar6QqwS2SdMcQf551MYHuhOI1OkR0Msefoz+GQ tTXVDUb3czZ3XR36a//lGia+YukfFbNvaL3PDAh3MaiFVCOxzmsAhj1RnlRE8nzBkmVu uEXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=default header.b=eD7tuNVt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lx9si9458926pjb.183.2022.02.03.06.01.01; Thu, 03 Feb 2022 06:01:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@efficios.com header.s=default header.b=eD7tuNVt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239594AbiBAO6T (ORCPT + 99 others); Tue, 1 Feb 2022 09:58:19 -0500 Received: from mail.efficios.com ([167.114.26.124]:50994 "EHLO mail.efficios.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233062AbiBAO6R (ORCPT ); Tue, 1 Feb 2022 09:58:17 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 27A2333DECA; Tue, 1 Feb 2022 09:58:17 -0500 (EST) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id w7bt_8Q04Fcy; Tue, 1 Feb 2022 09:58:16 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 4EB8433DA19; Tue, 1 Feb 2022 09:58:16 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 4EB8433DA19 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=default; t=1643727496; bh=gibEsH3B0KzUwtYdfw44gc1dcx7UQW/Ha7elpCdnRs0=; h=Date:From:To:Message-ID:MIME-Version; b=eD7tuNVtl1OUch8VhQDNhQuavZjMOJBnsLbiLQpBhprwsRnIK4iNo1N9w8/rLD9IM 8jmXVFKsittxx2KQE5b7BN/1SHBiSyDueNIQEVmjGwMpqZx0JSWQKHPw49cvGGxOa1 giodLWeoQjFvw1H4TqkPiEx9HkteFgnTYlI+47L1F67s1s+PXoLw3EPAxZw72YwjCJ TtO9eqQSMv3gJh8UtIG9u3+l6cSly1KVsv8sh/VEXY6NjwcdDVbZpEJOkgZvOnsYa3 cWGX2+/O15MzH5fyx5WZ2iiVhxJqwnsNKWO4jd/98IVp0n2gCCRd0T4mj+vpnTttye rBgW4IR1m6y+A== X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 8i8wT7AjZ0zN; Tue, 1 Feb 2022 09:58:16 -0500 (EST) Received: from mail03.efficios.com (mail03.efficios.com [167.114.26.124]) by mail.efficios.com (Postfix) with ESMTP id 4282A33E209; Tue, 1 Feb 2022 09:58:16 -0500 (EST) Date: Tue, 1 Feb 2022 09:58:16 -0500 (EST) From: Mathieu Desnoyers To: Chris Kennelly Cc: Paul Turner , Peter Oskolkov , Florian Weimer , libc-alpha , linux-kernel , Peter Zijlstra Message-ID: <432231420.24682.1643727496135.JavaMail.zimbra@efficios.com> Subject: Aligning tcmalloc with glibc 2.35 rseq ABI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [167.114.26.124] X-Mailer: Zimbra 8.8.15_GA_4203 (ZimbraWebClient - FF96 (Linux)/8.8.15_GA_4203) Thread-Index: 2t+6f+2qDfzPob23bVEdyKSsLvbg7A== Thread-Topic: Aligning tcmalloc with glibc 2.35 rseq ABI Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chris, You will probably want to have a look at the userspace rseq ABI exposed by glibc 2.35 to ensure tcmalloc becomes compatible with it. If it helps, you can have a look at how I modified librseq to play nicely with glibc 2.35: https://git.kernel.org/pub/scm/libs/librseq/librseq.git/ Most relevant bits: https://git.kernel.org/pub/scm/libs/librseq/librseq.git/tree/src/rseq.c#n108 Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com