Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2493978pxb; Thu, 3 Feb 2022 07:49:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJwfffcRzjAxjP+Ebsa9O7iG/T9ZCeV6BRT4BlmUc8tWFhFIDr8b9P7ZIT/UqwTjvp+K/R5y X-Received: by 2002:aa7:88c6:: with SMTP id k6mr34584047pff.68.1643903361806; Thu, 03 Feb 2022 07:49:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643903361; cv=none; d=google.com; s=arc-20160816; b=Mvv9Imb7nZZ/ND5iXexxBSr56DQpW7Q5/v4xUCfgjjk42XbPx+EGLAE8necFriTQMJ FSdMxAtrn//SO0IBlT5DIlOdGE1pBYlUzK2BpenY1zAy55of2Gwr4yyKQSAenXuKpwX4 jQqONwXxChxsxYWbNIDvWBsBBLgm2lqAU4AXLEPJWWaw+xR8ZE87Sa3e4Fla2d48l2oA PzdyM/wtc31A+8g1TWk3r/M/lRTIQ6ow+OVyDd4Jzn5v7D7nBHk473uBs0zCUQPEhTql hmDK4gCP8cVGPyeu4Bj+PVgaVy3vlx8RdPWHgzCYMDPZFROzu355ppO62DN56L62Cis9 pFSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=5LdYe0/2yXLTD/OVAh9OHIYB9qOHTi1p5PIuVGDR2rI=; b=o4UMbOPeIGKa2LSEHH/+MRZNnou+NHiHxuGUR7/a+ODAdp8syfpzMXe6RFq6QbPnHa 5CNZo5JpLY6Zhb8FA6P1CCQb+6laXcJK3NvLlX52uGDp9SDJvrvH0I1xe+zBQ/ne8R9X mGibt9ZeLRPSJc7aOGszL+gprRQpHCTL5TkrLyMIQTsDohuhJl/mgBPgDjb0d4dZd+ad HRfuB0M9zvqB24u+faI4PHzf7d7ZBe8vN93UNEH6UmZlqjG3CN35sGJMVN5tu+kgmbHd P8ajZbEudYtx+GRpamwbu/AalADHdrT3ku66n0wKKTGKj5M739vLCBNQ2gHkg8iGV678 beTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=h7Jgz2Qe; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rj8si8592551pjb.85.2022.02.03.07.48.45; Thu, 03 Feb 2022 07:49:21 -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=@redhat.com header.s=mimecast20190719 header.b=h7Jgz2Qe; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345308AbiBBPBZ (ORCPT + 99 others); Wed, 2 Feb 2022 10:01:25 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:26200 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345293AbiBBPBW (ORCPT ); Wed, 2 Feb 2022 10:01:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643814081; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5LdYe0/2yXLTD/OVAh9OHIYB9qOHTi1p5PIuVGDR2rI=; b=h7Jgz2QeRs8PY0XLBuohBp1W/iLVtgXdX1cNOjLx8z67sLT5y0eHXkiCoolCN+9Twu9Yx0 YaTAefYaw5EwqOdMqYQFVa2BXdDbTERhqozAKS7U3coWL1THUsK6YYByFaptWKDZbSXMQJ LGZwZIqSnQ6lVsz/52vFGr/ABp+Iviw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-508-Ewx3BCiyOa6z_39Tp6R5sQ-1; Wed, 02 Feb 2022 10:01:20 -0500 X-MC-Unique: Ewx3BCiyOa6z_39Tp6R5sQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D03ED84BA44; Wed, 2 Feb 2022 15:01:18 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.193.205]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F24A36E1ED; Wed, 2 Feb 2022 15:01:16 +0000 (UTC) From: Florian Weimer To: Mathieu Desnoyers Cc: Chris Kennelly , Paul Turner , Peter Oskolkov , libc-alpha , linux-kernel , Peter Zijlstra Subject: Re: Aligning tcmalloc with glibc 2.35 rseq ABI References: <432231420.24682.1643727496135.JavaMail.zimbra@efficios.com> <87mtja1fuz.fsf@oldenburg.str.redhat.com> <875ypx1x0d.fsf@oldenburg.str.redhat.com> <1375227765.27051.1643801804042.JavaMail.zimbra@efficios.com> <770517862.27112.1643807335312.JavaMail.zimbra@efficios.com> Date: Wed, 02 Feb 2022 16:01:15 +0100 In-Reply-To: <770517862.27112.1643807335312.JavaMail.zimbra@efficios.com> (Mathieu Desnoyers's message of "Wed, 2 Feb 2022 08:08:55 -0500 (EST)") Message-ID: <87o83pxqh0.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Mathieu Desnoyers: > More to the point: is ptrdiff_t the correct type here ? I think so. > Do we want to revert the ABI and wait another 6 months before we > bring back rseq into glibc just for this ? I'm not sure this limitation > justifies it. > > So if there is a quick way to fix that before the official 2.35 release, > I'm all for it, otherwise I cannot say that __rseq_offset being an "int" > rather than a "ptrdiff_t" will make much real-life difference (unless > I'm proven wrong). But we will be stuck with this quirk forever. I'm going to post a patch. It's fairly small. Thanks, Florian