Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp838176ybt; Wed, 24 Jun 2020 12:28:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7Sno3pdYj+FMLHQeqgSBT3FkqpCbq+iuu+0p5LAeWulaOQ7lEk1cAYypMT8UZQdshWnhO X-Received: by 2002:a17:906:90b:: with SMTP id i11mr26070862ejd.343.1593026891971; Wed, 24 Jun 2020 12:28:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593026891; cv=none; d=google.com; s=arc-20160816; b=TngN5JS1o4wxmb4v6DF2BWUloB/eolojZAvmia0K01XL5nteuWxagQrU7N42x7NGuA BOH8lLdhEyioeg8rKd2IOIwQnZFGxUwtUkzbmwJNJh4V/z0P8ZO5xpy7QMbVxm+P3+dG 6q1S3Lob4ZTuJ88pNGKurUKZdBPpCrqF7QNdCt7jz5Bk3PEEt489BWP1Q3wTR3ni/g3U yrgU5kO+TIaUBa7jyp9HNwj6rzIBxiM6+pVC91n+jsyLKF9l10LXhmRha9kEVHnjrKBH 3Qr50cFqQd/yQ4ee2M4wXj1r/Gh8YfMDgP4e3Yi9HVkBZwE0UZCb4fRvKpkKQTBxqFkg 38Uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dkim-signature; bh=WwvLgGG2LaRCgwsWiAA6pHtAn5uRNCtZdPPhDv+Az8E=; b=NLFEpz3tCbR0OJBiOVIrvLZ7mm0sICuOs64accA4osR0Lvv+8X0itKqPpAFioDy8n+ A4SARjYivm6kemA4toUp2i1TWVpIhOdKF9mrDsG8VllIGK7FKLe08SlPp2C7vX0Dgjmg tsub6RXf+MyPIOzQiWANito/iNQK8kSeAxcDxRWeRhvUcIlMJgRA8C8N22Y88FE9aNn9 MUon0gvskGwdkM/HNQZzDOjKj82UWNOx4MJ3wezYPSYHFkzKFVaS/ZiW2D61KQ9vTZiI ooc8fnd9x+3be69STyAKG8gc+6cPtgXb39tIKmgP5nvQzalbTQAWaSp68lCE/egaWVhE f2Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=X9nwcbTv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e23si1657568edq.600.2020.06.24.12.27.48; Wed, 24 Jun 2020 12:28:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=X9nwcbTv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2391221AbgFXTYb (ORCPT + 99 others); Wed, 24 Jun 2020 15:24:31 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:53504 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387801AbgFXTYa (ORCPT ); Wed, 24 Jun 2020 15:24:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1593026669; 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=WwvLgGG2LaRCgwsWiAA6pHtAn5uRNCtZdPPhDv+Az8E=; b=X9nwcbTvKKLpBZpySp/od5OTZHog2dbeV4qS6FLUuGuXfbcgGIXwce4Zp9OhHCwvqK4rEj JOZBYaBdeJmzdpB7GHVurxUBVofOvM5ni2hUaTXXtxSDSiCiMZm7/K8CV4DbDHu4x5t6UM 58sAVoNrMsYETX+NpGRjE0wu2d+SFZ0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-499-uucXm7f8Nme8dccQphk9QQ-1; Wed, 24 Jun 2020 15:24:25 -0400 X-MC-Unique: uucXm7f8Nme8dccQphk9QQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5A65A804003; Wed, 24 Jun 2020 19:24:23 +0000 (UTC) Received: from oldenburg2.str.redhat.com (ovpn-113-18.ams2.redhat.com [10.36.113.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 485145C1BB; Wed, 24 Jun 2020 19:24:17 +0000 (UTC) From: Florian Weimer To: Mathieu Desnoyers Cc: carlos , Joseph Myers , Szabolcs Nagy , libc-alpha , Thomas Gleixner , Ben Maurer , Peter Zijlstra , Paul , Boqun Feng , Will Deacon , Dave Watson , Paul Turner , Rich Felker , linux-kernel , linux-api Subject: Re: [PATCH 1/3] glibc: Perform rseq registration at C startup and thread creation (v21) References: <20200622180803.1449-1-mathieu.desnoyers@efficios.com> <20200622180803.1449-2-mathieu.desnoyers@efficios.com> <87d05obl4w.fsf@oldenburg2.str.redhat.com> <1158112159.11628.1593025203438.JavaMail.zimbra@efficios.com> <87r1u48eix.fsf@oldenburg2.str.redhat.com> <1248023868.11643.1593026198678.JavaMail.zimbra@efficios.com> Date: Wed, 24 Jun 2020 21:24:15 +0200 In-Reply-To: <1248023868.11643.1593026198678.JavaMail.zimbra@efficios.com> (Mathieu Desnoyers's message of "Wed, 24 Jun 2020 15:16:38 -0400 (EDT)") Message-ID: <87mu4s8dy8.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Mathieu Desnoyers: >> I think we should keep things simple on the glibc side for now and do >> this changes to the kernel headers first. > > Just to be sure I understand what you mean by "keep things simple", do you > recommend removing the following lines completely for now from sys/rseq.h ? > > /* Ensure the compiler supports rseq_align. */ > __rseq_static_assert (__rseq_alignof (struct rseq_cs) >= 32, "alignment"); > __rseq_static_assert (__rseq_alignof (struct rseq) >= 32, "alignment"); Yes, that's what I meant. Thanks, Florian